Wed 16 Apr 2008 12:57:07 PM UTC, original submission:
This bug was reported on the mailing list, but it's an interesting one.
The following website contains a SWF movie that should load dynamic text in German, English and Japanese:
http://www.oddhammer.com/unicode/tutorial.htm
(http://www.oddhammer.com/unicode/unicode_tutorial.swf)
The two non-English texts start with a 3-byte unicode identifier that confuses Gnash (known bug). When this is removed, the German text displays but the Japanese one doesn't. On the mailing list it was reported that the Adobe player on the same system displays the Japanese text. The device font is specified as Arial.
On my system, Gnash loads the font LiberationSans-Regular.ttf, which contains glyphs for only a couple of thousand characters: no Japanese. Other applications (Abiword, OpenOffice.org) that use these fonts are also incapable of displaying the Japanese. The system font and web browsers seem able to do it.
However, the Adobe Player also fails on my system, which suggests there is no available scalable device font that contains Japanese glyphs. In that case, Gnash's behaviour is not a bug.
The fact that the PP and Gnash behave differently on another system suggests that a scalable unicode font is installed (e.g. the very-hard-to-find and proprietary Arial-Unicode-MS), which isn't selected by Gnash, but is by the PP. This might be a bug (selection of an inadequate font when an adequate one is available), but until I get hold of such a font I can't tell.
There appears to be no font containing anything like a majority of unicode characters under a free licence.
|