We are developing a mobile application (targeting for android & ios) using Adobe Flash Builder 4.6, Adobe AIR 3.5. Requirement is to localize the content for indian languages, and rite now we are targeting tamil locale. We implemented the localization, it is working for the locales where the fonts are available on the device, like french, chinese etc., but not for tamil locale. As the device doesn't have the font, we would like to embed TTF font.
After googling on the subject, these are the steps we did to embed tamil font, without any luck.
1. Used fontswf to convert to SWF
2. In the main application, we embed the SWF (got the Class reference)
3. Registered the font
4. When the locale is changed to Tamil, we are changing the application style (fontFamily) to the Class that we got in Step 2
PS: Currently we are testing on android devices, however the solution needs to work for ios as well
Unfortunately, this is not working. Requesting your help in this regard!