|  | Python Script Engine
    8.3
    GL Studio Editor Python Script API | 
| Public Types | |
| enum | FontEncoding_e { ASCII , UNICODE , RUNTIME } | 
| Public Member Functions | |
| Font (str family, str style, int ptSize, bool isUnicode=false) | |
| Font (str family, str style, int ptSize, FontEncoding_e encoding) | |
| bool | operator== (Font &rhs) | 
| bool | operator!= (Font &rhs) | 
| str | GetFamily () | 
| str | GetStyle () | 
| int | GetPtSize () | 
| None | SetFamily (str family) | 
| None | SetStyle (str style) | 
| None | SetPtSize (int ptSize) | 
| str | GetKey () | 
| bool | IsUnicode () | 
| bool | IsRuntime () | 
| list | GetGlyphRanges () | 
| Public Attributes | |
| GetGlyphRanges | |
Python extension for the Font editor class.
| enum Font::FontEncoding_e | 
| Font::Font | ( | str | family, | 
| str | style, | ||
| int | ptSize, | ||
| bool | isUnicode = false | ||
| ) | 
Creates a font with the given information set.
| family | font family | 
| style | font style | 
| ptSize | font point size | 
| isUnicode | [optional, default to false] whether this font is Unicode | 
| Font::Font | ( | str | family, | 
| str | style, | ||
| int | ptSize, | ||
| FontEncoding_e | encoding | ||
| ) | 
Creates a font with the given information set.
| family | font family | 
| style | font style | 
| ptSize | font point size | 
| encoding | [optional, default to ASCII] the encoding used for the font | 
| str Font::GetFamily | ( | ) | 
Retrieves the font's family name.
| list Font::GetGlyphRanges | ( | ) | 
Retrieve a vector of the glyph ranges for this font.
| str Font::GetKey | ( | ) | 
Retrieves a str represenation of the font, used as a key in certain maps.
| int Font::GetPtSize | ( | ) | 
Retrieves the font's point size.
| str Font::GetStyle | ( | ) | 
Retrieves the font's style name.
| bool Font::IsRuntime | ( | ) | 
Is the font Runtime or not?
| bool Font::IsUnicode | ( | ) | 
Is the font Unicode or not?
| bool Font::operator!= | ( | Font & | rhs | ) | 
inequality operator
| rhs | instance to compare | 
| bool Font::operator== | ( | Font & | rhs | ) | 
equality operator
| rhs | instance to compare | 
| None Font::SetFamily | ( | str | family | ) | 
Sets the font's family name.
| family | New font family name | 
| None Font::SetPtSize | ( | int | ptSize | ) | 
Sets the font's point size.
| ptSize | New font point size | 
| None Font::SetStyle | ( | str | style | ) | 
Sets the font's style name.
| style | New font style name | 
| Font::GetGlyphRanges |