ISO8859 family encodings which are usually used by all non-Microsoft operating systems. On program startup, the applications default encoding is the same as wxFONTENCODING_SYSTEM, but may be changed to make all the fonts created later to use it (by default). The applications default encoding as returned by wxFont::GetDefaultEncoding. The default encoding of the underlying operating system (notice that this might be a "foreign" encoding for foreign versions of Windows 9x/NT). wxFont encoding support is reflected by a (new) constructor parameter encoding which takes one of the following values (elements of enumeration type wxFontEncoding): wxFONTENCODING_SYSTEM Please note that we will only discuss 8-bit fonts here and not Unicode (see Unicode Support in wxWidgets).įont encoding support is ensured by several classes: wxFont itself, but also wxFontEnumerator and wxFontMapper. However, it is not enough to represent the letters of foreign alphabets and here other encodings come into play. Probably the most well-known encoding is (7 bit) ASCII one which is used almost universally now to represent the letters of the English alphabet and some other common characters. WxWidgets has support for multiple font encodings.īy encoding we mean here the mapping between the character codes and the letters.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |