Returns the encoding of the specified font.
Returns the font family for the specified font.
Returns the font data in a sequence that can be used to create a new font:
{ pointSize, family, style, weight, underlined, faceName, encoding }
Returns the face name of the specified font.
Returns the point size for the specified font.
Returns the style of the specified font.
Returns 1 if the specified font is underlined, 0 otherwise.
Returns the weight of the specified font.
Returns the platform-dependent string completely describing this font. Returned string is always non-empty. Note that the returned string is not meant to be shown or edited by the user: a typical use of this function is for serializing in string-form a wxFont object.
Returns a user-friendly string for this font object. Returned string is always non-empty. Some examples of the formats of returned strings (which are platform-dependent) are in set_native_font_info_user_desc().
Gets the point size.
Sets the default font encoding, which can be one of:
| system default |
| current default encoding |
| West European (Latin1) |
| Central and East European (Latin2) |
| Esperanto (Latin3) |
| Baltic (old) (Latin4) |
| Cyrillic |
| Arabic |
| Greek |
| Hebrew |
| Turkish (Latin5) |
| Variation of Latin4 (Latin6) |
| Thai |
| doesn't exist currently but put it |
| Baltic (Latin7) |
| Latin8 |
| Latin9 (a.k.a. Latin0 includes euro) |
| |
| we don't support any of KOI8 variants |
| same as MS-DOS CP866 |
| used under Linux in Bulgaria |
| original MS-DOS codepage |
| CP437 merged with Latin1 |
| CP437 merged with Latin2 |
| another cyrillic encoding |
| and another one |
| WinThai |
| Japanese (shift-JIS) |
| Chinese simplified (GB) |
| Korean (Hangul charset) |
| Chinese (traditional - Big5) |
| WinLatin2 |
| WinCyrillic |
| WinLatin1 |
| WinGreek (8859-7) |
| WinTurkish |
| WinHebrew |
| WinArabic |
| WinBaltic (same as Latin 7) |
| |
| UTF-7 Unicode encoding |
| UTF-8 Unicode encoding |
| Simplified Chinese |
| Traditional Chinese |
| Shift JIS |
| Extended Unix Codepage for Japanese |
| Unicode |
Sets the facename for the font.
To avoid portability problems, don't rely on a specific face, but specify the font family instead or as well. A suitable font will be found on the end-user's system. If both the family and the facename are specified, wxWidgets will first search for the specific face, and then for a font belonging to the same family.
Sets the font family, which must be one of:
| Chooses a default font. |
| A decorative font. |
| A formal, serif font. |
| A handwriting font. |
| A sans-serif font. |
| A fixed pitch font. |
| A teletype font. |
Sets the font style, which must be one of:
Sets underlining.
Sets the font weight, which must be one of:
Creates the font corresponding to the given native font description string and returns true if the creation was successful. which must have been previously returned by get_native_font_info(). If the string is invalid, font is unchanged. This function is typically used for de-serializing a wxFont object previously saved in a string-form.
Creates the font corresponding to the given native font description string and returns true if the creation was successful. Unlike SetNativeFontInfo, this function accepts strings which are user-friendly. Examples of accepted string formats are:
This sets the point size of the designated font to the value specified by points.