Error getting tags :
error 404Error getting tags :
error 404 revFontLoad | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revFontLoad
Basics
Expander triangle
Type
Command
Syntax

revFontLoad fontFile

Introduced
2.8.1
Environment
Desktop,Web
Platform Support
Mac OS X,Windows
Security
Disk
Summary
Loads a font using the font external library.
Examples

revFontLoad myFontFile
revFontLoad "C:/myFontFolder/myCustomFont.ttf"

Additional Comments
Expander triangle

The revFontLoad command loads a font from a font file into memory.

Parameters

The fontFile is the path to the font file

Value

If the font was loaded successfully, the revFontLoad command puts empty into the result. If the font failed to load or invalid parameters were given, the result will contain an error string. This will be 'couldn't find font' if the specifed file could not be found and 'couldn't load font' if the specified file could not be loaded as a font.

Note

After loading a font, the fontNames function will return the name of the new font as well as all the previously loaded fonts. To determine the name of the newly loaded font, compare the value of the fontNames before and after loading the font.

User Comments
Expander triangle