#include "string.h"
#include "GRect.h"
#include "LgiOsClasses.h"
#include "GLibrary.h"
#include "GLibraryUtils.h"
#include "GColour.h"
#include "GDisplayString.h"
#include "iconv.h"
Go to the source code of this file.
Classes | |
class | GTypeFace |
Font parameters collection. More... | |
class | GFont |
Font class. More... | |
class | GFontType |
Font type information and system font query tools. More... | |
class | GCharset |
Charset information class. More... | |
class | GCharsetSystem |
Charset table manager class. More... | |
class | GFontSystem |
Overall font system class. More... | |
Defines | |
#define | FW_NORMAL 400 |
The default font weight. | |
#define | FW_BOLD 700 |
Bold font weight. | |
#define | DEFAULT_QUALITY 0 |
Default font quality. | |
#define | ANTIALIASED_QUALITY 1 |
Specifically anti-aliased font. | |
#define | NONANTIALIASED_QUALITY 2 |
Specifically not anti-alias font. | |
Enumerations | |
enum | GCharSetType |
Charset definitions. | |
Functions | |
LgiFunc GCharset * | LgiGetCsInfo (const char *Cs) |
Returns information about a charset. | |
LgiFunc GCharset * | LgiGetCsList () |
LgiFunc const char * | LgiDetectCharset (const char *Utf8, int Len=-1, List< char > *Prefs=0) |
Returns the charset that best fits the input data. |
LgiFunc const char* LgiDetectCharset | ( | const char * | Utf8, | |
int | Len = -1 , |
|||
List< char > * | Prefs = 0 | |||
) |
Returns the charset that best fits the input data.
Utf8 | The input text |
Len | The byte length of the input text |
Prefs | An optional list of prefered charsets to look through first |
References GCharset::Charset, List< Type >::First(), GCharsetSystem::GetCsInfo(), List< Type >::Next(), and GCharset::UnicodeMap.
LgiFunc GCharset* LgiGetCsList | ( | ) |
Returns the start of an array of supported charsets, terminated by one with a NULL 'Charset' member.