PDA

View Full Version : squooshed device font with special characters


smacklemore
04-05-2005, 08:09 PM
I'm loading utf-8 encoded xml formatted with css into an html enabled dynamic text box. Everything seems fine except when I use a special character like a thorn (Icelandic), then all the text on that line renders oddly. The spacing between the words becomes inconsistent and some of the words run together. If you select the text with your mouse it will snap back to what it should look like.

So the problem is not with getting the characters to show up, but that when they show up they're freaking out the line of text that they're on. For an example of what I'm talking about see the "shows" section of http://www.scottmclemore.com/ and select the names of the musicians listed.

Thanks

badlorry
04-07-2005, 10:54 AM
the 'shows' section on the link looks fine to me dude, but I have come across problems like this myself, especially with Cyrillic, Chinese, Japanese and Arabic text, where the player will render different point sizes of the text in different and often odd looking ways, even when the text is embedded.

For example,
-the text metrics will not give accurate results for these languages
-the text appears to unembedded and anti-aliased at 100%, but when I zoom in, it appears embedded and correctyl aliased and spaced
-tracking (a feature that cannot be controlled programmatically from flash)can appear to change when changing between diferent zoom settings as well

My best guess is that the Flash player cannot handle these different character sets well yet in version 7. This does appear to be something that they've sorted out in Flash player 8 though, given their recent presentation on it in Japan.

smacklemore
04-07-2005, 11:45 AM
Hmm. I just checked the site on a PC and I think this is a Mac-only problem. I had checked it previously on 3 different machines (all Macs) and they all have this problem.

So any idea as to when Flash player 8 might become available? You seem to be in the know.

Thanks a lot for taking the time to help me out.

badlorry
04-07-2005, 12:06 PM
sorry dude, not exactly sure, but there are lots of videos about it

http://www.moock.org/blog/archives/000146.html

smacklemore
04-07-2005, 03:08 PM
yeah, I already saw that video. nice fake piano playing. :-)

thanks again.