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
" In 1999, ISO needed to make the Euro currency symbol available. There were also a few other characters that were desired. So ISO created ISO-8859-15, which is identical to ISO-8859-1 except for 8 characters." [source: http://www.i18nqa.com/debug/table-iso8859-1-vs-iso8859-15.html]
ofTrueTypeFont shows the characters as they were in ISO-8859-1. A fix was added by @kylemcdonald at Jun 15, 2013 to support the euro sign but the other 7 characters that were introduced can be supported the same way by using the following code in ofTrueTypeFont::loadFont.
if (glyph == 0xA4) glyph = 0x20AC; // Currency Sign -> Euro Sign
if (glyph == 0xA6) glyph = 0x0160; // Broken Bar -> Latin Capital Letter S With Caron
if (glyph == 0xA8) glyph = 0x0161; // Diaeresis -> Latin Small Letter S With Caron
if (glyph == 0xB4) glyph = 0x017D; // Acute Accent -> Latin Capital Letter Z With Caron
if (glyph == 0xB8) glyph = 0x017E; // Cedilla -> Latin Small Letter Z With Caron
if (glyph == 0xBC) glyph = 0x0152; // Vulgar Fraction One Quarter -> Latin Capital Ligature OE
if (glyph == 0xBD) glyph = 0x0153; // Vulgar Fraction One Half -> Latin Small Ligature OE
if (glyph == 0xBE) glyph = 0x0178; // Vulgar Fraction Three Quarters -> Latin Capital Letter Y With Diaeresis
The text was updated successfully, but these errors were encountered:
This seems like a reasonable solution for the time being. ofFont which is getting closer and closer now supports on-the-fly glyph caching so glyphs are cached and packed in a texture as they are needed, preventing the need to define the entire texture atlas all at once.
" In 1999, ISO needed to make the Euro currency symbol available. There were also a few other characters that were desired. So ISO created ISO-8859-15, which is identical to ISO-8859-1 except for 8 characters." [source: http://www.i18nqa.com/debug/table-iso8859-1-vs-iso8859-15.html]
ofTrueTypeFont shows the characters as they were in ISO-8859-1. A fix was added by @kylemcdonald at Jun 15, 2013 to support the euro sign but the other 7 characters that were introduced can be supported the same way by using the following code in ofTrueTypeFont::loadFont.
The text was updated successfully, but these errors were encountered: