Any ideas about how to emulate Smooth font rendering option from Photoshop in Flash/Flex? I’ve tried different settings for advanced rendering (antiAliasType, gridFitType and friends) but not much luck so far. Any ideas?..
Any ideas about how to emulate Smooth font rendering option from Photoshop in Flash/Flex?
Share
TextField class has a properties for sharpness and thickness.
sharpness: can be set from -400 to 400
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/text/TextField.html#sharpness
thickness: can be set from -200 to 200
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/text/TextField.html#thickness
In general it is a good idea to set your TextField instances on a whole pixel. I sometimes sub-class TextField and override the setters for x and y with something like this.
I’ve also found that if you are using pixel fonts that it is a good idea to set
TextField.antiAliasTypetoAntiAliasType.ADVANCED.