For years I've been ascribing to the belief that the only sure way to deal with localized dynamic text in Flash was to use system fonts for displaying utf-8 text (brought in via XML in my case). I've had good luck with it in the past, very few complaints, etc. One of the problems with using the system fonts though is not being able to set the transparency on that text. There's a good number of other problems, but I came across a post again today (for about the third time in the last couple of months) from polyGeek about fading and masking with device fonts.

Now, I've got my own way of dealing with masking device fonts, but his solution is interesting. I keep seeing it and wondering if there isn't a parallel hack that would allow rotation of text that uses system fonts other than that BitmapData.draw() hack. I banged away on it for a few minutes and searched around for a few minutes and decided not. The BitmapData.draw() thing is a good find for rotating maybe little labels or small bits of text, not so good for large blocks of text, but it's still a nice hack. Now if I could just use it with Flash 7.

And that brought me around to the question of what about using runtime shared fonts? Have the correct font for the current locale load at runtime and then the text would use "embedded" fonts. Right? But then I dig into shared fonts, how to get the right font loaded for the current locale for a global audience, what happens if the server hiccups and that font doesn't load, etc, etc.. there are some good resources out there, but also a lot of unknowns to me. From what I'm seeing shared fonts really haven't changed much since Flash Player 5 (?), and I remember the horror stories.. and the workarounds that kinda sorta worked.

I'm seeing a lot of "we have 50 SWFs on our site and load this one font for use in all of our SWFs, now we have the joys of embedded fonts in all 50 SWFs and the user only downloads the font once". But I'm not seeing much in the way of "we're sending our content out in 160 different languages to xxx,000 users daily and we're using shared fonts to load the correct font for each language and it's working just dandy".

And what's up with having to pay for this?