Hey flexers,
I'm using a font that has a kerning table with a TextField object to display
text. However, it appears the kerning table is never being used. Here's
the code:
var textField:TextField = new TextField();
textField.embedFonts = true;
textField.text = 'New Text';
var tf:TextFormat = new TextFormat();
tf.font = 'MyFont';
tf.size = 24;
tf.kerning = true;
textField.setTextFormat(tf);
textField.width = 2000;
textField.height = 100;
uic.addChild(textField);
Am I doing something wrong? I figured kerning=true would force the text
field to abide by the font's kerning table. If I use the same font with the
new Flash text rendering engine it seems to respect the kerning tables as
expected, but at this point we can't switch to the new rendering engine.
Any ideas?
Aaron