|  | Python Script Engine
    8.3
    GL Studio Editor Python Script API | 
| Public Member Functions | |
| bool | operator== (FontPalette &rhs) | 
| bool | operator!= (FontPalette &rhs) | 
| bool | isNULL () | 
| list | GetAvailableFonts () | 
| list | GetReferencedFonts () | 
| list | GetAdditionalFonts () | 
| bool | RemoveAdditionalFontKey (str fontKey) | 
| bool | RemoveAdditionalFont (Font &font) | 
| bool | AddAdditionalFont (Font &font) | 
| bool | AddFontGlyphRange (Font &font, int start, int end) | 
| bool | RemoveFontGlyphRange (Font &font, int start, int end) | 
| bool | RemoveUnicodeFontRanges (Font &font) | 
| Public Attributes | |
| GetAvailableFonts | |
| GetReferencedFonts | |
| GetAdditionalFonts | |
Python extension for the FontPalette editor class.
| bool FontPalette::AddAdditionalFont | ( | Font & | font | ) | 
Adds a font to the Additional Fonts list of the document.
| font | the font to be added | 
| bool FontPalette::AddFontGlyphRange | ( | Font & | font, | 
| int | start, | ||
| int | end | ||
| ) | 
Adds the specified range to the given unicode font.
| font | the font to be modified | 
| start | the starting value for the range, min 256, max 65534 | 
| end | the ending value for the range, min 256, max 65534 | 
| list FontPalette::GetAdditionalFonts | ( | ) | 
Gets the list of Additional Fonts fonts referenced by the document.
| list FontPalette::GetAvailableFonts | ( | ) | 
Gets the list of fonts available to the editor.
| list FontPalette::GetReferencedFonts | ( | ) | 
Gets the list of fonts referenced by the document.
| bool FontPalette::isNULL | ( | ) | 
determine if font palette does not exist.
| bool FontPalette::operator!= | ( | FontPalette & | rhs | ) | 
inequality operator.
| rhs | instance to compare | 
| bool FontPalette::operator== | ( | FontPalette & | rhs | ) | 
equality operator.
| rhs | instance to compare | 
| bool FontPalette::RemoveAdditionalFont | ( | Font & | font | ) | 
Removes a font from the Additional Fonts list of the document.
| font | the font to be removed | 
| bool FontPalette::RemoveAdditionalFontKey | ( | str | fontKey | ) | 
Removes a font from the Additional Fonts list of the document by full name.
| fontKey | the key of the font to be removed, such as "ArialRegular12" | 
| bool FontPalette::RemoveFontGlyphRange | ( | Font & | font, | 
| int | start, | ||
| int | end | ||
| ) | 
Removes the specified range from the given unicode font.
| font | the font to be modified | 
| start | the starting value for the range | 
| end | the ending value for the range | 
| bool FontPalette::RemoveUnicodeFontRanges | ( | Font & | font | ) | 
Removes the font from the list of Unicode fonts, and its set ranges along with it.
Note that it will be re-added with the default range if the font is still in the "Additional Fonts" list.
| font | the font to be modified | 
| FontPalette::GetAdditionalFonts | 
| FontPalette::GetAvailableFonts | 
| FontPalette::GetReferencedFonts |