1#ifndef NW4HBM_UT_FONT_H
2#define NW4HBM_UT_FONT_H
13#define FONT_TYPE_NNGCTEXTURE 1
14#define GLYPH_INDEX_NOT_FOUND 0xFFFF
70 #ifndef NO_THIS_ASSERT
71 NW4HBM_ASSERT_VALID_PTR(117,
this);
Definition CharStrmReader.h:10
u16(CharStrmReader::*) ReadFunc()
Definition CharStrmReader.h:12
virtual CharWidths GetDefaultCharWidths() const =0
@ INVALID_CHARACTER_CODE
Definition Font.h:36
@ TYPE_RESOURCE
Definition Font.h:39
@ TYPE_ROM
Definition Font.h:38
@ TYPE_NULL
Definition Font.h:37
void InitReaderFunc(FontEncoding encoding)
Definition ut_Font.cpp:9
virtual int GetDescent() const =0
virtual int GetBaselinePos() const =0
virtual int GetAscent() const =0
virtual int GetLineFeed() const =0
virtual int GetWidth() const =0
virtual int GetCellWidth() const =0
virtual void SetDefaultCharWidths(const CharWidths &widths)=0
Font()
Definition Font.h:43
virtual ~Font()
Definition Font.h:45
virtual FontEncoding GetEncoding() const =0
virtual void GetGlyph(Glyph *glyph, u16 c) const =0
CharStrmReader::ReadFunc mReaderFunc
Definition Font.h:79
virtual bool SetAlternateChar(u16 c)=0
virtual void SetLineFeed(int linefeed)=0
virtual int GetHeight() const =0
virtual int GetMaxCharWidth() const =0
CharStrmReader GetCharStrmReader() const NO_INLINE
Definition Font.h:68
virtual Type GetType() const =0
virtual int GetCellHeight() const =0
virtual GXTexFmt GetTextureFormat() const =0
virtual CharWidths GetCharWidths(u16 c) const =0
virtual int GetCharWidth(u16 c) const =0
unsigned short int u16
Definition types.h:10
FontEncoding
Definition Font.h:25
@ FONT_ENCODING_CP1252
Definition Font.h:29
@ FONT_ENCODING_SJIS
Definition Font.h:28
@ FONT_ENCODING_UTF8
Definition Font.h:26
@ NUM_OF_FONT_ENCODING
Definition Font.h:30
@ FONT_ENCODING_UTF16
Definition Font.h:27
FontMapMethod
Definition Font.h:19
@ FONT_MAPMETHOD_SCAN
Definition Font.h:22
@ FONT_MAPMETHOD_TABLE
Definition Font.h:21
@ FONT_MAPMETHOD_DIRECT
Definition Font.h:20
Definition HBMAnmController.h:6
Definition fontResources.h:11
Definition fontResources.h:24