Skip to content

Commit

Permalink
downgrade NotoColorEmoji to minimize size
Browse files Browse the repository at this point in the history
  • Loading branch information
nulano committed Oct 7, 2020
1 parent 568a126 commit 89e35cc
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified Tests/fonts/NotoColorEmoji.ttf
Binary file not shown.
Binary file modified Tests/images/cbdt_notocoloremoji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Tests/images/cbdt_notocoloremoji_mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Tests/test_imagefont.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ def test_cbdt(self):
im = Image.new("RGB", (150, 150), "white")
d = ImageDraw.Draw(im)

d.text((10, 10), "\u263A", embedded_color=True, font=font)
d.text((10, 10), "\U0001f469", embedded_color=True, font=font)

with Image.open("Tests/images/cbdt_notocoloremoji.png") as expected:
assert_image_similar(im, expected, self.metrics["multiline"])
Expand All @@ -886,7 +886,7 @@ def test_cbdt_mask(self):
im = Image.new("RGB", (150, 150), "white")
d = ImageDraw.Draw(im)

d.text((10, 10), "\u263A", "black", font=font)
d.text((10, 10), "\U0001f469", "black", font=font)

with Image.open("Tests/images/cbdt_notocoloremoji_mask.png") as expected:
assert_image_similar(im, expected, self.metrics["multiline"])
Expand Down

0 comments on commit 89e35cc

Please sign in to comment.