RE: Non-latin glyphs for custom fonts not embedded in textFields

"Kerry Thompson" <[email protected]> Sun, 21 Oct 2007 00:01:18 -0400
Newsgroups gmane.comp.web.flashcoders.devel
Message-ID <007201c81397$0db31a10$29194e30$@biz>
> I'm having a struggle getting non-latin glyphs in my TextField
> instances to display properly.
>=20
> The text field in question is set to Dynamic Text, and uses a custom,
> embedded font. The font is linked to export in first frame, before
> the text field appears. The text field has "All (54665 glyphs)"
> selected as the Embed option
>=20
> Scenario A (doesn't work):
>=20
> 	) The text field contains a Latin string by default: "watermelon"
> 	) Try to fill the text field with a mixed character glyph phrase:
> 		tf.htmlText =3D "Bang =D0=9F=D1=80=D0=B8=D1=81=D1=82=D0=B0=D0=B2=D0=BA=
=D0=B8";

My first question--is the custom font a Unicode font? It should be, with =
54665 glyphs (ISO 8859.x fonts only have 255 glyphs).

I'm guessing there is an issue with the way the font was created--I'm not=
 sure what the problem would be, but here's a test. Embed a system Unicod=
e font (if you're on Windows, you should have Arial Unicode) and see if t=
he problem persists.

This is a little out of date, but still relevant to people using non-Unic=
ode fonts. It's an article I wrote for MX Developer's Journal, and it's o=
nline now at <http://director-online.com/buildArticle.php?id=3D1143>

Cordially,

Kerry Thompson



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders