InstallFont
Description: |
baInstallFont installs a TrueType or Bitmap font. | ||||||||||
Platforms: |
Windows | ||||||||||
Usage: |
Result = baInstallFont( FontFile, FontName ) | ||||||||||
Arguments: |
String, string. |
||||||||||
Returns: |
Integer. Returns 0 if font installs OK. Otherwise returns one of
|
||||||||||
Examples: |
Director: Authorware: |
||||||||||
Notes: |
Most fonts are copyrighted material. You should not install a font unless you are legally allowed to do so. The name of the font should be taken from the Fonts Control Panel. The name that Windows identifies the font to applications is taken from information inside the font file, not the name you give it. You should use the baFontInstalled command to check whether or not a particular font is already installed before you try to install a new copy. Director does not rebuild it's font list after it has been started. This means that the font will not be available to the projector that installed it unless it is restarted. All versions of Authorware should be able to use the font immediately. There is usually no need to restart Windows. |
||||||||||
See also: |