|
Public Member Functions |
| virtual std::string | getFileName () const=0 |
| virtual void | setFontResolution (unsigned int width, unsigned int height)=0 |
| | Set the pixel width and height hint.
|
| virtual Glyph * | getGlyph (unsigned int charcode)=0 |
| | Get a Glyph for specified charcode, and the font size nearest to the current font size hint.
|
| virtual osg::Vec2 | getKerning (unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType)=0 |
| | Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint.
|
| virtual bool | hasVertical () const=0 |
| | Return true if this font provides vertical alignments and spacing or glyphs.
|
| void | setFontWidth (unsigned int width) |
| void | setFontHeight (unsigned int height) |
| void | addGlyph (unsigned int width, unsigned int height, unsigned int charcode, Glyph *glyph) |
Public Attributes |
| Font * | _facade |