# Problems getting Component fonts become antialiased

**URL:** <https://forum.kirupa.com/t/problems-getting-component-fonts-become-antialiased/260332>\
**Category:** flash\
**Created:** [May 14, 2008, 2:38pm UTC](https://forum.kirupa.com/t/problems-getting-component-fonts-become-antialiased/260332 "2008-05-14T14:38:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deVoter](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@deVoter](https://forum.kirupa.com/u/deVoter)\
**Post date:** [May 14, 2008, 2:38pm UTC](https://forum.kirupa.com/t/problems-getting-component-fonts-become-antialiased/260332/1 "2008-05-14T14:38:01Z")

</div>

When I move around a component with a normal non-antialiassed font —\> the text dissappears. So I had to make the component fonts antialiased. Now I have a flash form where half of the components are antialiassed and half are not, even if I have targeted an antialiased font to all of them. Is this a bug in Flash CS3? or what gives?

Heres an example:

```auto
var f6:Font = new EmbeddedVerdana() as Font;
var tf6:TextFormat = new TextFormat();
tf6.font = f6.fontName; // Verdana
tf6.bold = false;
tf6.size = 11;

RateMyPCContent.field3.setStyle("embedFonts", true);
RateMyPCContent.field3.setStyle("textFormat", tf6);

```

Thanks in advance

Mikael “deVoter” Toivio

> **[Mikael Toivio - Designer & Developer @ evermade.fi, Photographer & Snowboarder...](http://mikaeltoivio.com/)**
>
> Designer & Developer @ evermade.fi, Photographer & Snowboarder hobbyist.
