If you are embedding fonts in your application, it is a good idea to set the Unicode range to reduce the size of the resulting swf file. Adobe provides a good reference, flash-unicode-table.xml, which you can find inside the Flex SDK 2/frameworks folder. You can then modify the flex-config.xml file, also found in the same folder, and use the “shortcuts” found in the flash-unicode-table.xml. With this you can set the Unicode range for your embedded fonts easily, let’s say we have set “English” as a shortcut in the flex-config.xml file:
[Embed(source='assets/ttf/gothic.ttf',
fontName='CenturyGothic',
mimeType='application/x-font',
unicodeRange="English")]
You can also learn more about the Latin Unicode characters from Wikipedia.



0 Responses to “Unicode Range References”