A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: I feel stupid asking this... but... (aliased fonts)

  1. #1
    Junior Member
    Join Date
    Jan 2003
    Location
    Corpus Christi, TX
    Posts
    3

    I feel stupid asking this... but... (aliased fonts)

    How do you force text to stay aliased in FlashMX?

    I'm using a small pixelfont.. but no matter what I do.. it still comes out antiailased and you can barely read it.

    Any help would be greatly appreciated.

  2. #2
    iguanagirl32 mraspiller's Avatar
    Join Date
    Jul 2002
    Posts
    817
    change to device fonts

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Mraspiller... he's using a pixel font!

  4. #4
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Using the Info panel (Window > Panels > Info), change the text field's X and Y coordinates to whole integer values (for example, X: 102 and Y: 300). You will notice that the anti-aliasing no longer blurs the font.

    View > Snap to pixels ( Make sure it's checked )

  5. #5
    iguanagirl32 mraspiller's Avatar
    Join Date
    Jul 2002
    Posts
    817
    All right, all right...no need to yell

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Who's yelling?

  7. #7
    iguanagirl32 mraspiller's Avatar
    Join Date
    Jul 2002
    Posts
    817
    Just get back to fixing my replys...

  8. #8
    Junior Member
    Join Date
    Jan 2003
    Location
    Corpus Christi, TX
    Posts
    3
    thx for the help, everyone.

    I'm trying the interger thing... and switching to a different font (hooge 5 57 at 10px) so.. we'll see if this works.

  9. #9
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Problem is if you don't embed the font, then those who don't have it, won't see it. And embedding a pixelfont causes problems.

  10. #10
    Junior Member
    Join Date
    Jan 2003
    Location
    Corpus Christi, TX
    Posts
    3
    how does it create problems?

    (btw.. I'm not really a complete newbie.. but I haven't used Flash in a while.. and this is my first project in MX).

  11. #11
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Originally posted by oldnewbie
    Problem is if you don't embed the font, then those who don't have it, won't see it. And embedding a pixelfont causes problems.
    ?? I always thought that Static text was viewable by everyone, not embedding Dynamic text causes a problem

  12. #12
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Got sort of mixed up here! Assumed text was dynamic. For everyone to see a dynamic text using a non regular font (assuming the user doesn't have that font installed), the font has to be embedded and embedding a pixel font causes problems.

    This from minifonts.com:

    Note: While these fonts work fine as static text, their use in Flash's dynamic text boxes requires them to be installed on the viewing computer or to be embedded.

    Embedded fonts behave differently from those used in static text boxes and are unlikely to give the required results. When Flash embeds fonts, their sizes change ever so slightly. Although this doesn't matter much with anti-aliased fonts, which are blurred anyway, pixel fonts get shifted off the pixel grid of the screen. This is due to the accumulated errors caused by the small difference in the size of each character. The effect is that the text goes in and out of phase with the screen grid and goes from sharp to blurred and back again. Embedding pixel fonts in Flash movies is not recommended for this reason.

  13. #13
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Ok you scared me !!

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