Reading
Add Comment
The most reliable way to implement Japanese fonts at runtime in a Flex application is to compile the font case as a swf using mxmlc. This permits you create a filter for the font case you want to implement and load the requisite font case swf. In my case I needed to be able to switch between Latin fonts and Japanese fonts depending on the country locale. This method was used for an FDT5 flex project. The development environment is Linux Mint Maya KDE.
The steps are as follows. You will need a terminal to do this:
Create an environment part to the mxmlc compiler in your Flex SDK
- export PATH=${PATH}:/home/ayo/Toolbox/SDKs/3.50.12683/bin
- mxmlc -managers=flash.fonts.AFEFontManager /MyClasses/css/navigation_jp.css.
- @font-face { src: url('../assets/fonts/ARIALUNI.TTF');font-family: Arial; advancedAntiAliasing: true;
/* , U+4E00 -U +9FFF, U+30??, U+FF00 -U+FF9F; */
}
0 comments:
Post a Comment