-
Notifications
You must be signed in to change notification settings - Fork 88
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
About emoji from font file error #154
Comments
The line is
face.load_char('😀', freetype.FT_LOAD_COLOR)
why is it different from yours? You have made changes to the example.
|
Is your freestype built with libpng? If it isn't, that might be the answer.
On Wednesday, 8 June 2022, 18:00:42 GMT+8, yiwangwuqian ***@***.***> wrote:
I have same result
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
|
I think we need the result of "otool -L /usr/local/lib/libfreetype.so" or libfreetype.dylib to see if it is linked to libpng or not. Or wherever freetype-py is loading libfreetype.so/dylib from. |
Having the same issue here. I'm using macOS 12.4 with Python 3.8. Even reinstall the freetype-py with |
If it is a issue with libpng , try grabbing this copy of libfreetype |
As far as I know, freetype-py hasn't included any newer freetype APIs than 2.10 or possibly even 2.8, so the copy of libfreetype built for font validator should support everything that's current in freetype-py. Give it a try. |
Thanks! |
Traceback (most recent call last):
File "/freetype-py-master/examples/emoji-color.py", line 17, in
face.load_char('😀')
File "/usr/local/lib/python3.9/site-packages/freetype/init.py", line 1547, in load_char
if error: raise FT_Exception( error )
freetype.ft_errors.FT_Exception: FT_Exception: (unimplemented feature)
I'm try using python3 on macOS Monterey.
The text was updated successfully, but these errors were encountered: