Using Director > Text > Embedding fonts in movies |  |

Embedding fonts in movies

Before creating text or field cast members, it's good practice to embed the fonts you want to use in the movie. Embedding fonts makes Director store all font information in the movie file so that a font will display properly even if it is not installed in a user's system. Because embedded fonts are available only to the movie itself, there are no legal obstacles to distributing fonts in Director movies.

Embedded fonts appear in a movie as cast members and work on Windows and Macintosh computers. Director compresses embedded fonts so they usually only add 14 to 25K to a file.

For the best display at smaller sizes, include bitmap versions of a font when you embed a font. For small font sizes, usually from about 7 to 12 points, bitmap fonts often look better than anti-aliased outline fonts. (See About anti-aliased text.) Adding a set of bitmap characters does, however, make the font cast member larger. Examine the text display quality of your movie to find out if this option is worthwhile.

To speed up movie downloading, you can keep file size small by specifying a subset of characters to be included. You can also specify which point sizes to include as bitmaps and which characters to include in the font package. If you do not embed fonts in a movie, Director substitutes available system fonts.

If you create embedded fonts using the original font name followed by an asterisk (for example, Arial* for the Arial font), Director uses the embedded font for all the text in the movie that uses the original font. This saves you the trouble of manually reapplying the font to all the text in existing movies.

Once you embed a font in a movie file, the font appears on all of the movie's font menus, and you can use it as you would any other font.

To embed a font in a movie:

1 | Choose Insert > Media Element > Font.
2 | From the Original Font pop-up menu, choose a font that is currently installed on your system.
| You cannot embed a font that is not installed on your system.
| In the New Font Name box, the name of the font is followed by an asterisk. This is the name that will appear on all font menus in Director. In most cases, you should not change the name of a font.
3 | To include bitmap versions of the font in specified sizes, click the Sizes button for Bitmaps and enter the point sizes you want to include, separated by spaces or commas. For example, you might enter 9, 10, 14.
4 | To include bitmap versions of bold or italic characters with the font, select Bold or Italic.
| This option provides better-looking bold and italic fonts if you are including a bitmap version of the font, but it increases the file size.
5 | To specify the characters included in the font, choose an option for Characters.
| Entire Set includes every character (symbols, punctuation, numbers, and so on) with the font.
| Partial Set lets you choose exactly which characters are included. To choose a group of characters, select Punctuation, Numbers, Roman Characters, or Other. If you choose Other, enter the characters to be included in the box on the right. In some double-byte languages, other groups of characters may appear.

To embed a font in a movie with Lingo:

Use the `recordFont` command. See `recordFont` in the Lingo Dictionary.