Director Help

Embedding fonts in movies

Before creating text or field cast members, it’s a 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 appears correctly even if it’s not installed in a user’s system. Because embedded fonts are available only to the movie, 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 Mac computers. The size of the embedded fonts depends on the character sets chosen to be recorded.

To speed up movie downloading, keep a file size small by specifying a subset of characters to include. If you do not embed fonts in a movie, Director substitutes available system fonts.

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

When you open a movie created in a previous version of Director with the entire font set embedded in it, the characters of the font are represented by the character sets that they belong to in the Font Cast Member Properties dialog. This is also true for embedded partial character sets.

When you edit partial character sets from a previous version using the Font Cast Member Properties dialog, the entire character set to which the partial character sets belonged to get recorded. If you press Cancel, the embedded fonts remain unchanged for the characters recorded in the previous version.

Embed a font in a movie

  1. Select Insert > Media Element > Font.
  2. From the Original Font menu, select a font that is currently installed on your system.

    (You can’t embed a font that is not installed on your system. Only fonts that appear in the Original Font menu are available to be embedded.)

    In the New Font Name text box, the name of the font is followed by an asterisk (*). This name appears on all font menus in Director. In most cases, you should not change the name of a font.

  3. The left list box enlists the scripts that are present in the selected font. Double click the script that you want to embed in the font.
  4. Partial Set lets you select exactly which characters are included. If you select Partial, enter the characters to be included in the text box on the right.

Embed a font in a movie with Lingo or JavaScript syntax

  • Use the recordFont method. For more information about this method, see the Scripting Reference topics in the Director Help Panel.