dcsimg
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
    Posts
    227

    Embedded Pixel Font, Blurry?

    Image:


    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?

    Code:
    			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. )
    *edit*
    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
    Location
    press the picture...
    Posts
    13,448
    It does not seem to have changed:

    http://www.adobe.com/cfusion/knowled...fm?id=21dfb54d
    - 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
    Posts
    227
    Yea i understand the problem, and same with the solution.. outside of code that is.

    Notice:
    Code:
    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
    Member
    Join Date
    Jun 2000
    Posts
    47
    don't really know about this but consider pixel placement etc

    http://www.mail-archive.com/osflash@.../msg10231.html

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