A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Embedded Pixel Font, Always blurry?

  1. #1
    Senior Member
    Join Date
    Aug 2001

    Embedded Pixel Font, Blurry?


    Notice how there are blurry spots, any idea on the cause? I am using an embedded pixel font with the AA type of normal (i'd use a none but there isn't that option). If i use advanced it blurs the text even worse.

    Being a pixel font i don't want any AA, so in theory it should like fine right now.. but aparently flash is doing something. I've tried multiple pixel fonts too, and keep getting the same result in one form or another.

    Any ideas?

    			this.textFormat = new TextFormat();
    			this.textFormat.font = "Visitor";
    			this.textFormat.color = 0x000000;
    			this.textFormat.size = 10;
    			this.textAutoplay = new TextField();
    			this.textAutoplay.embedFonts = true;
    			this.textAutoplay.autoSize = TextFieldAutoSize.LEFT;
    			this.textAutoplay.selectable = false;
    			this.textAutoplay.antiAliasType = AntiAliasType.NORMAL;
    			this.textAutoplay.defaultTextFormat = this.textFormat;
    ( btw, the nulls on the right side are all one text box and one string. )
    Boy i'm on a roll lol, the most active/annoying user here .
    Last edited by Zeusbwr; 10-18-2006 at 12:43 AM.

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    press the picture...
    It does not seem to have changed:

    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  3. #3
    Senior Member
    Join Date
    Aug 2001
    Yea i understand the problem, and same with the solution.. outside of code that is.

    this.textAutoplay.antiAliasType = AntiAliasType.NORMAL;
    I can't find a way to actually disable antialiasing, it seems as if embedded font will always have a type of aliasing.. unless i am missing a function.

    Because even when not set, the TextField.antiAliasType is by default AntiAliasType.NORMAL.

    From: TextField Reference
    The type of anti-aliasing used for this text field. Use flash.text.AntiAliasType constants for this property. You can control this setting only if the font is embedded (with the embedFonts property set to true). The default setting is flash.text.AntiAliasType.ADVANCED.

  4. #4
    Join Date
    Jun 2000
    don't really know about this but consider pixel placement etc


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center