PlatformFont
Engine/source/platform/platformFont.h
Classes:
Public Functions
bool
getCharInfo(const UTF8 * str)
bool
isValidChar(const UTF16 ch)
Is the specified character valid for rendering?
bool
isValidChar(const UTF8 * str)
Public Static Functions
enumeratePlatformFonts(Vector< StringTableEntry > & fonts, UTF16 * fontFamily)
Detailed Description
Public Functions
~PlatformFont()
create(const char * name, dsize_t size, U32 charset)
This is just for createPlatformFont to call.
Todo: Rethink this so we don't have a private public.
Reimplemented by: OSXFont, WinFont, x86UNIXFont
getCharInfo(const UTF16 ch)
Reimplemented by: WinFont, x86UNIXFont, OSXFont
getCharInfo(const UTF8 * str)
Reimplemented by: OSXFont, WinFont, x86UNIXFont
getFontBaseLine()
Reimplemented by: OSXFont, WinFont, x86UNIXFont
getFontHeight()
Reimplemented by: OSXFont, WinFont, x86UNIXFont
isValidChar(const UTF16 ch)
Is the specified character valid for rendering?
Reimplemented by: WinFont, x86UNIXFont, OSXFont
isValidChar(const UTF8 * str)
Reimplemented by: OSXFont, WinFont, x86UNIXFont
Public Static Functions
enumeratePlatformFonts(Vector< StringTableEntry > & fonts, UTF16 * fontFamily)