stop using font |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | stop using font file <fontFile>
|
Summary | Unloads a font file from memory.
|
Introduced | 6.5 |
OS | mac, windows |
Platforms | desktop |
Parameters | Name | Type | Description |
---|
fontFile | | |
|
Example | stop using font file "C:/myFontFolder/myCustomFont.ttf"
|
Values | Name | Type | Description |
---|
The result | | The stop using font command puts empty into the result if successful.
Otherwise an error string is put into the result.
|
|
Related | Property: fontFilesInUse
Command: start using font
Function: fontNames
Glossary: function, property
|
Security | disk |
Description | The stop using font command unloads a font file from memory.
The fontFile is the path of the font file to unload
Note: The fontNames function will return the name of all
available fonts and the fontFilesInUse property will return the
fill paths of the loaded font files. To determine the name of the
newly unloaded font, compare the value of the fontNames before and
after unloading the font.
|