-
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.
-
Senior Member
- The right of the People to create Flash movies shall not be infringed. -
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|