macromedia help home
Bookmark this page using your favorite bookmark manager

Using pixel fonts with macromedia flash

About pixel fonts

Pixel fonts are fonts made of small pixels.
Pixel fonts are also called screen fonts or bitmap fonts.
Pixel fonts are made to show a good quality and readability at a very small size.

Sample

The difference between optimized pixel fonts and fonts used with wrong settings:

pixel font sample

Recommended settings:

check box sign Place the pixel fonts at integer x and y value on stage.
pixel font at integer position

check box sign If you have this option set alias text to “on”.
alias pixel font

check box sign Most pixel fonts look best at size 8,16,24, this is important.
pixel font size 8

check box sign If the pixel font is in a clip then that clip and all parent clips should also be placed at integer x and y value on stage.

check box sign Use the text field and all it’s parent clips at 100% of it’s size, see transform panel to make sure scaling is 100% for all clips.

check box sign If you use a pixel font in a scrollable text field than that text field should be set to make the x and y position of text on integer each time text is moved on stage. This is done by “Math.round()”, e.g. Math.round(my_text_field._x)

Wrong settings when using pixel fonts:

no sign Do not use different sizes than 8, 16, 24, etc.

no sign Do not place the pixel font at non-integer x y position on stage. E.g. x and y should be 12.0 instead of 12.3

no sign Do not scale the text field. In flash select the text field then press CTRL+T and see transform panel, it should indicate 100% meaning the text field was not scaled.

no sign Do not scale the swf flash file in your html page. Make sure you use the swf file and all clips in it at 100% scale.

Pixel font resources:

http://www.adobeflash.com/download/fonts/pixel/
http://www.dafont.com/bitmap.php
Rate this content; the results will appear next to article links in site:
You need flash player