gfxFontShaper
More...
#include <gfxFont.h>
List of all members.
Detailed Description
gfxFontShaper
This class implements text shaping (character to glyph mapping and glyph layout). There is a gfxFontShaper subclass for each text layout technology (uniscribe, core text, harfbuzz,....) we support.
The shaper is responsible for setting up glyph data in gfxTextRuns.
A generic, platform-independent shaper relies only on the standard gfxFont interface and can work with any concrete subclass of gfxFont.
Platform-specific implementations designed to interface to platform shaping APIs such as Uniscribe or CoreText may rely on features of a specific font subclass to access native font references (such as CTFont, HFONT, DWriteFont, etc).
Constructor & Destructor Documentation
| gfxFontShaper::gfxFontShaper |
( |
gfxFont * |
aFont |
) |
[inline] |
| virtual gfxFontShaper::~gfxFontShaper |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| gfxFont* gfxFontShaper::GetFont |
( |
|
) |
const [inline] |
| virtual PRBool gfxFontShaper::InitTextRun |
( |
gfxContext * |
aContext, |
|
|
gfxTextRun * |
aTextRun, |
|
|
const PRUnichar * |
aString, |
|
|
PRUint32 |
aRunStart, |
|
|
PRUint32 |
aRunLength, |
|
|
PRInt32 |
aRunScript | |
|
) |
| | [pure virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: