FontInstalled
Description: |
baFontInstalled reports whether or not a TrueType or Bitmap font is installed. |
Platforms: |
Windows and Macintosh |
Usage: |
Result = baFontInstalled( FontName, Style ) |
Arguments: |
String, string. |
Returns: |
Integer. Returns 1 if the font is presently installed, otherwise 0. |
Examples: |
Director: Authorware: |
Notes: |
If you ask for a specific font style, then the function will only return true if that style is present. For example, if you ask for "Arial", "Bold" and only the normal Arial is installed, this function will return 0. Some fonts may have different names for the styles, eg "Black" for bold and "Oblique" for italic. You must use the names built into the font. On Macintosh, the Style argument is ignored.
|
See also: |