| | | Manno Bult |  |
| Posted: Wed Sep 03, 2008 2:20 pm Post subject: small u-tilde not showing in textField |  |
| |  | |
Hi all,
I have a problem with the u-tilde not showing in a textfield.
I need to display all sorts of chars with different accents, and they all show, except for u-tilde.
I suppose it is not a widely used char since it isn't even listed in HTML latin 1 entity lists (like: LINK) but, well, some people need it...
Test below show it's really an oddball since all other chars with a tilde show. Weird thing is: removing the TextFormat (or just the line with embedfonts) all together shows all three instances of the u-tilde.
Anyone have a clue as to how to get it to show?
(actual used code is with loading an UTF-8 encoded XML file. No show either.)
thanks in advance, Manno
/* AS2 code as example fontsymbol with linkageID "my_palentino" is in library */ var tf:TextFormat = new TextFormat(); tf.font = "my_palentino"; tf.size = 28;
var t:TextField = this.createTextField( "test_txt", 1, 0, 0, 500, 100 ); t.embedFonts = true; t.html = true; t.htmlText = "<p>abc - ũÅ© - ãñ - \u0169</p>"; t.setTextFormat( tf );
-- ---------- Manno Bult LINK |
|