User Guide

Font rendering methods in Flash Lite 41
Embedding font outlines in SWF files
To render a text field’s font, Flash Lite can either use fonts that are available on the device or
use font outlines that are embedded in the published SWF file (see “Font rendering methods
in Flash Lite” on page 38). Embedding font outlines in the SWF file ensures that the text
field’s font appears the same on all target platforms, but results in larger file size. Flash Lite
requires font outlines to render either bitmap (no anti-alias) or anti-aliased text.
For static text fields that use the anti-alias or bitmap font rendering methods, Flash
automatically embeds the font outlines required to display the text fields contents. For
example, if a static text field contains the word Submit, Flash automatically embeds the font
outlines required to display those six characters (S, u, b, m, i, and t). Because the contents of a
static text field cant change, the SWF file needs to include font outlines only for those
characters.
For dynamic and input text fields that use the anti-alias or bitmap font rendering methods,
you must specify the characters whose font outlines you want to embed in the published SWF
file. The contents of those types of text fields can change during playback; consequently, Flash
cant assume which font outlines need to be available. You can include font outlines for all
characters in the selected font, a range of characters, or specific characters. You use the
Character Embedding dialog box to specify which characters you want to embed in the
published SWF file.
To embed font outlines for a dynamic or input text field:
1. Select the dynamic or input text field on the Stage.
2. In the Property inspector, select Bitmap (No Anti-Alias) or Anti-Alias for Animation from
the Font Rendering Method pop-up menu.