|
bool | load (const Common::Path &path) |
|
void | unload () |
|
Graphics::Font * | getAtSize (uint size) override |
|
virtual int | getFontHeight () const override |
|
virtual int | getMaxCharWidth () const override |
|
virtual int | getCharWidth (uint32 chr) const override |
|
virtual void | drawChar (Graphics::Surface *dst, uint32 chr, int x, int y, uint32 color) const override |
|
virtual int | getKerningOffset (uint32 left, uint32 right) const override |
|
virtual Common::Rect | getBBox (const Common::String &str, int fontSize) override |
|
virtual Common::Rect | getBoundingBox (uint32 chr) const override |
|
virtual TeVector3f32 | kerning (uint pxSize, uint isocode1, uint isocode2) override |
|
virtual float | height (uint pxSize) override |
|
virtual float | ascender (uint pxSize) |
|
virtual float | descender (uint pxSize) |
|
virtual void | draw (TeImage &destImage, const Common::String &str, int fontSize, int yoff, const TeColor &col, AlignStyle alignMode) |
|
virtual int | getHeight (int fontSize) |
|
virtual int | wordWrapText (const Common::String &str, int fontSize, int maxWidth, Common::Array< Common::String > &lines) |
|
virtual TeIFont::GlyphData | glyph (uint pxSize, uint charcode) |
|
void | generateAccessName () |
|
const Common::Path & | getAccessName () const |
|
void | setAccessName (const Common::Path &name) |
|
void | deleteLater () |
|
bool | decrementCounter () |
|
void | incrementCounter () |
|
void | resetCounter () |
|
virtual Common::String | getFontName () const |
|
virtual int | getFontAscent () const |
|
virtual int | getFontDescent () const |
|
virtual int | getFontLeading () const |
|
Common::Rect | getBoundingBox (const Common::String &str, int x=0, int y=0, const int w=0, TextAlign align=kTextAlignLeft, int deltax=0, bool useEllipsis=false) const |
|
Common::Rect | getBoundingBox (const Common::U32String &str, int x=0, int _y=0, const int w=0, TextAlign align=kTextAlignLeft, int deltax=0, bool useEllipsis=false) const |
|
virtual void | drawChar (ManagedSurface *dst, uint32 chr, int x, int y, uint32 color) const |
|
void | drawString (Surface *dst, const Common::String &str, int x, int y, int w, uint32 color, TextAlign align=kTextAlignLeft, int deltax=0, bool useEllipsis=false) const |
|
void | drawString (Surface *dst, const Common::U32String &str, int x, int y, int w, uint32 color, TextAlign align=kTextAlignLeft, int deltax=0, bool useEllipsis=false) const |
|
void | drawString (ManagedSurface *dst, const Common::String &str, int x, int _y, int w, uint32 color, TextAlign align=kTextAlignLeft, int deltax=0, bool useEllipsis=false) const |
|
void | drawString (ManagedSurface *dst, const Common::U32String &str, int x, int y, int w, uint32 color, TextAlign align=kTextAlignLeft, int deltax=0, bool useEllipsis=false) const |
|
int | getStringWidth (const Common::String &str) const |
|
int | getStringWidth (const Common::U32String &str) const |
|
int | wordWrapText (const Common::String &str, int maxWidth, Common::Array< Common::String > &lines, int initWidth=0, uint32 mode=kWordWrapOnExplicitNewLines) const |
|
int | wordWrapText (const Common::U32String &str, int maxWidth, Common::Array< Common::U32String > &lines, int initWidth=0, uint32 mode=kWordWrapOnExplicitNewLines) const |
|
int | wordWrapText (const Common::U32String &str, int maxWidth, Common::Array< Common::U32String > &lines, Common::Array< bool > &lineContinuation, int initWidth=0, uint32 mode=kWordWrapOnExplicitNewLines) const |
|
void | scaleSingleGlyph (Surface *scaleSurface, int *grayScaleMap, int grayScaleMapSize, int width, int height, int xOffset, int yOffset, int grayLevel, int chr, int srcheight, int srcwidth, float scale) const |
|
A pre-rendered font format with positioning data used in Amerzone ('tef' format)