Re: [Flashcoders] Shared fonts, linkage and Arabic
Finally figured out how to make font symbols (with linkage turned on) include foreign character sets. The instructions outlined here: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275 do actually work given you take into account two crucial pieces of info regarding BUGS IN FLASH. The two pieces of crucial info that solved the issue for me are these: 1) If there is more than one font symbol in the library Flash will not add foreign character sets to any of the fonts. That means creating one swf per font symbol. 2) If a font symbol (with linkage turned on) uses the exact same font that is embedded in a text field in the same swf, all non-Roman characters stop getting exported. For example: text field 1 has the font Tahoma set to Korean characters embedded. Export, it works fine. Now, set a font symbol in the library (with linkage turned on) to use Tahoma. Export, no non-Roman characters get exported. I'll eventually report this to Adobe but I'd be happy if someone beat me to it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Shared fonts, linkage and Arabic
Hey Danny, I'm having problems with this as well. It should be so simple but I have not yet found a solution. If you're on a PC (as I am) this link has some helpful info and a proposed solution for this exact problem but: http://www.quasimondo.com/archives/000211.php Unfortuantly the solution proposed (creating font substitute entries in the registry that reference your target language codepage ID) dosen't work for me: After I create the font substitues I can access them from Flash's font menue but after setting my font symbol to use them I still only get Roman characters. Adobe also has some promising sounding advice about changing the codepage for the system here: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275 Put the procedure outlined doesn't work either. Although it partially worked with one specific font and language pair (thai). But that was one out of twenty or so combos and it only worked temporarily Another thing I noticed: If one of my font symbols (with linkage turned on) uses the same font as is embedded in a text field, all non-Roman charaters stop getting exported. For example: text field 1 has the font Tahoma set to Korean characters embedded. I export, it works fine. Now, I set one of my font symbols (with linkage turned on) to use Tahoma. I export, no non-Roman characters get exported. Damn! If you discover any potential solutions please let me know! -Mike Danny Kodicek wrote: I can't believe I'm still having problems with this. I need to get a shared font symbol to include Arabic characters (and indeed any characters). So I've got my shared library called sharedFontLib. In it, I've created a font symbol called sharedFont. Now, if I leave linkage off, this font works perfectly: I can include an input field in sharedFontLib using the font, and type in any characters I like. But if I turn linkage on for the font, all non-Roman characters stop working (this is with Embed -> all on the input field). The same is true in other movies using the same font. Come on folks - someone there must have got shared fonts working with non-Roman characters! Danny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] How do I specify foreign (to my OS) character sets for fonts embedded in the library?
I have a project that uses shared fonts. The fonts are all contained in a single swf ("fonts.swf"), are embedded in that swf's library and are set to export for actionscript and runtime sharing. The text in the project is dynamic and is loaded in from external XML files. The text is formatted via CSS styles. This project needs to be localized into 20 or so different languages. Everything works great when I use English text but I need to use foreign language character sets as well and I can't figure out how to set which character set gets exported for runtime sharing. For example: I want to create a fonts.swf that contains Korean characters, change the XML based text to Korean and have the text display correctly but I can't figure out how to force flash to export the Korean character set for the fonts embedded in the library. I've tried changing the language of my OS as explained here: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16275 without success. One portion of the instructions that seemes vague under the heading "Change the codepage for the system" is the final line of text: "In addition, the user needs to choose the target system default language/regional encoding during authoring." I'd love to have a more explicit explanation of how to do that. How do you choose the target system default language/regional encoding during authoring? I've also tried adding substitute font keys to the registry (at: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes) as outlined here: http://www.quasimondo.com/archives/000211.php but the fonts I added did not show up in Flash's font menu. I know there must be a simple solution that will allow me to embed language specific character sets for the fonts embedded in the library but I have yet to discover what it is. Any insight would be greatly appreciated. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com