You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I am quite sure it was working with an earlier version of Emscripten / OF. For example --> examples --> graphics --> fontsExample --> does not work with Emscripten.
The text was updated successfully, but these errors were encountered:
I think I found a solution:
I changed line 617 from ofTrueTypeFont.cpp from:
auto err = FT_Load_Glyph( face.get(), FT_Get_Char_Index( face.get(), utf8 ), settings.antialiased ? FT_LOAD_FORCE_AUTOHINT : FT_LOAD_DEFAULT );
to:
auto err = FT_Load_Glyph( face.get(), FT_Get_Char_Index( face.get(), utf8 ), FT_LOAD_DEFAULT);
I am courius if there a any drawbacks with changing the line, but so far it seems to work well.
It works without this change if the font is not antialiased (which is not the default). For example: verdana14A.load("verdana.ttf", 14, false);
And I am quite sure it was working with an earlier version of Emscripten / OF. For example --> examples --> graphics --> fontsExample --> does not work with Emscripten.
The text was updated successfully, but these errors were encountered: