I don't think 4.5 is different from 4.1. Post a complete test case. It
could also be an issue with the FontManager in the flex-config.xml file.
public class TestFont extends Sprite
public function TestFont()
var tf:TextField = new TextField;
var tfm:TextFormat = new TextFormat("宋体");
tf.defaultTextFormat = tfm;
//tf.text = "123abcflex4.5";
tf.text = "123abcflex4.1";
i compiler it use flex4.5 and flex_sdk_22.214.171.12476 but the result different
That isn't a Flex thing. That would be a Flash Player thing and might
depend on the -swfversion MXMLC option.
but both i used default option.and the result is different
Yes, the default swfversion is different from 4.1 to 4.5 and thus rendering
should be slightly different. The image you posted has bigger differences
than I would have expected, but try different swfversions and see if it
makes a difference.