319 views
in Embedded Wizard Studio by
I'm integrating monotype font into our system, and I found that attribute 'Ranges' can not be set if the value is larger 0xFFFF, like '\0x2003E' .  However, there are many glyphs whose unicode number is large 0xFFFF . How should I do in this case ? Does attribute 'Ranges'  represent Unicode ?

1 Answer

0 votes
by
The attribute 'Ranges' of each font resource is limited to the range 0x0000 to 0xFFFF, because all strings within Embedded Wizard are handled as 16bit strings. In order to address glyphs with an address above 0xFFFF it might be necessary to implement some mapping of the affected character code areas, so that the glyphs can be addressed by using a 16bit character code.

I assume that you are using a Platform Package which contains an interface to an external True-Type font engine. Within the function EwTtfOpenGlyph() you can implement the mapping of your 32bit glyphs so that they fit into the required 16bit character code range.

Embedded Wizard Website | Privacy Policy | Imprint

...