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

revFontUnload fontFile

Introduced
2.8.1
Environment
Desktop,Web
Platform Support
Mac OS X,Windows
Security
Disk
Summary
Unloads a font file from memory.
Examples

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

Additional Comments
Expander triangle

The revFontUnload command unloads a font file from memory.

Parameters

The fontFile is the path of the font file to unload

Value

The revFontUnload command puts empty into the result if successful. Otherwise an error string is put into the result

Note

After unloading a font, the fontNames function will return the names of the remaining fonts that are loaded. To determine the name of the unloaded font, compare the value of the fontNames before and after unloading.

Caution!

Ensure fonts are not in use before unloading them to avoid unexpected behaviour.

User Comments
Expander triangle