# Quality of embeded dynamic fonts

**URL:** https://forum.kirupa.com/t/quality-of-embeded-dynamic-fonts/281393
**Category:** Uncategorized
**Created:** [February 8, 2009, 10:40pm UTC](https://forum.kirupa.com/t/quality-of-embeded-dynamic-fonts/281393 "2009-02-08T22:40:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)
#### Post date: [February 8, 2009, 10:40pm UTC](https://forum.kirupa.com/t/quality-of-embeded-dynamic-fonts/281393/1 "2009-02-08T22:40:58Z")

</div>

Hi,

I am adding some text using the code below, but the text is still a bit ragged. Is there a way to make it smoother?

var mainText:TextField = new TextField();  
mainText.width=995;  
mainText.height=60;  
holder.addChild(mainText);  
mainText.y=-100;

mainText.embedFonts = true;  
mainText.antiAliasType = AntiAliasType.NORMAL;  
mainText.border= true;

var format:TextFormat = new TextFormat();  
format.font = new swiss().fontName;  
format.color = 0xFFFFFF;  
format.size = 50;

mainText.defaultTextFormat = format;  
mainText.text=“hello”;
