-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to render text with emojis #1774
Comments
👍 I'm also experiencing this issue |
symbola.ttf can be found here. If you replace But I still get this on Windows 7 (Python 2.7.11, Pillow 3.2.0): (Here's the same thing reported but unsolved on Stack Overflow, confirming the problem on Mac and Windows but not Ubuntu.) |
Same issue unfortunately 😦 Mac OS X 10.11.5, Python 2.7.10, Pillow 3.3.0. |
Has anyone had any progress on this issue? I'm trying to do the same thing on OS X Sierra (10.12.1) with Python 3 and Pillow 3.4.2 (and will need to achieve the same on Ubuntu as well) |
The cnblog linked above google translates as:
So it does seem that it's possible with freetype, it's a matter of building it in. |
Just checking if there's any hope to see it fixed on Windows in the not-too-distant future? |
With Linux Mint it does no work. There are only questionmarks |
This actually doesn't work because Pillow errors out: python-pillow/Pillow#1774
Bump. I see only a square box on mac. |
@quantumpotato What Python version did you use? It works for me with the emoji and code from #1774 (comment) on Mac with Python 3, but not Python 2 (so as before). It's quite possible this won't get fixed for Python 2 before the EOL on 2020-01-01. @nulano I don't have a Windows machine handy at the moment to retest with Python 3. Would be good if someone else can. |
I just tried it with Pillow 6.1 on Windows 10 and it works with Python 3.7 but not with Python 2.7, so same as Mac before. |
Closing because the next major release, Pillow 7.0.0, only supports Python 3. |
Same issue |
@alisentinel The OSError is explained in #1422 (comment):
The sizes available in
Also note that Pillow currently doesn't support colour in fonts, see #3346. The output will be an outline of the shape. |
If we are talking about a text with colored emoji support WITHOUT using many fonts ( |
I used pilmoji to get around this! |
Pilmoji is trash which needs access to remove servers. That is a certified clown activity |
lol |
I want to use Pillow to render text with emojis, to get it easy, I've used a font named
Symbola
.But seem like it doesn't succeed
When I switched to
Apple Color Emoji
, I have another problem on lineSo what should I do to be able to render emojis?
May related to #1422
Also someone has reported a problem about
ColorFont
support inFreeType
(this is a Chinese blog) http://www.cnblogs.com/palance/p/4809872.htmlThe text was updated successfully, but these errors were encountered: