#include <IndicLayoutEngine.h>
Inheritance diagram for CDACOpenTypeLayoutEngine:
Public Methods | |
CDACOpenTypeLayoutEngine (LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, const CDACLayout::ScriptInfo *scriptInfo) | |
This constructs an instance of CDACOpenTypeLayoutEngine for a specific font, script and language. More... | |
virtual | ~CDACOpenTypeLayoutEngine () |
The destructor, virtual for correct polymorphic invocation. | |
Protected Methods | |
virtual le_int32 | glyphPostProcessing (LEGlyphID tempGlyphs[], le_int32 tempCharIndices[], le_int32 tempGlyphCount, LEGlyphID *&glyphs, le_int32 *&charIndices) |
This method converts logical glyph indices to physical glyph indices. More... | |
virtual void | mapCharsToGlyphs (const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool mirror, LEGlyphID *&glyphs, le_int32 *&charIndices) |
This method maps charcters to logical glyph indices. More... | |
Protected Attributes | |
const CDACLayout::ScriptInfo* | fScriptInfo |
Since CDAC fonts don't contain a GSUB table, it uses a canned GSUB table, using logical glyph indices. Each logical glyph may be rendered with several physical glyphs in the CDAC font. It uses the CDACLayout class to do the layout.
Definition at line 139 of file IndicLayoutEngine.h.
|
This constructs an instance of CDACOpenTypeLayoutEngine for a specific font, script and language. The scriptInfo parameter contains the information that CDACLayout needs to layout using the font, including the character to logical glyph mapping information, the canned GSUB table, and the map from logical to physical glyphs. This will be obtained by LayoutEngine::layoutEngineFactory to determine if the font is a CDAC font.
|
|
The destructor, virtual for correct polymorphic invocation.
|
|
This method converts logical glyph indices to physical glyph indices. Input paramters:
Reimplemented from OpenTypeLayoutEngine. |
|
This method maps charcters to logical glyph indices. Input parameters:
Reimplemented from LayoutEngine. |
|
Definition at line 167 of file IndicLayoutEngine.h. |