My application was working fine with shared fonts with English, german, spanish, latin and french but problem arose when I tried to use cyrillic. I mean UNICODE. After long hours of hair pulling, I got a solution and this was very similar to dembicki's solution.
Let me go through step-by-step.
Open a blank FLA in flash 8.
Create a dynamic textfield. Choose your desired font for the desired language. You can use charmap or any other application that could show all languages supported by the font.
Embed desired gylphs for desired languages.
Select the dynamic textfield and convert it to movie. Give it a name like 'fonts'. Export for runtime sharing and also export for first frame. In URL section provide relative URL of the font swf or exact URL of the font swf.
You have to create seperate movieclips for bold, italic and bold italic....if necessary.
Delete the 'fonts' movie from the stage
(Not from the library).
Now create an empty movieclip called 'ForceShared'. Import for runtime sharing. Give URL for the font swf same as given into fonts movie. A question arise here why same URL for both movies? Since source is same here for both (Exported movie and the movie that import the exported font), both URL would be same.
Drag the 'ForceShared' movie onto stage. And publish the swf into fonts folder.
Here your font library is ready for 'Thai' and 'Cyrillic'.
To use it just load dynamically into your application FLA. Create a input textfield dynamically and apply the font. Set embedFont is true. If eveything is gone in right direction.....Your application must show the desired text.
Advantages:
1. Font will be in a single file.
2. Easy to create.
3. Easy to use.
4. A solid solution of UNICODE related problems.
5. The same procedure will be applied for prescribed
Disadvantges:
1. If you have embeded Normal font that you cant use Bold or Italic. You must have to embed others also otherwise these will not work. If embed, could raise filesize so be cautious about it. Better it to define supported format in your font xml file so that you could know which format is supported by the font library. Lets example if we are using Chinese, there are many fonts which support only normal/Italic or bold/italic.
At last I want to tell you as written in quasimondo.com that try to create seperate font library for each languages. Dont mesh all languages.
You can mail me or leave a comment for it. Thanx!
DEL





