#include <ArabicLayoutEngine.h>
Inheritance diagram for UnicodeArabicOpenTypeLayoutEngine::
Public Methods | |
UnicodeArabicOpenTypeLayoutEngine (const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode) | |
This constructs an instance of UnicodeArabicOpenTypeLayoutEngine for a specific font, script and language. More... | |
virtual | ~UnicodeArabicOpenTypeLayoutEngine () |
The destructor, virtual for correct polymorphic invocation. More... | |
Protected Methods | |
virtual le_int32 | glyphPostProcessing (LEGlyphID tempGlyphs[], le_int32 tempCharIndices[], le_int32 tempGlyphCount, LEGlyphID *&glyphs, le_int32 *&charIndices, LEErrorCode &success) |
This method converts the Arabic Presentation Forms in the temp glyph array into actual glyph indices using ArabicOpenTypeLayoutEngine::mapCharsToGlyps. More... | |
virtual void | mapCharsToGlyphs (const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool mirror, LEGlyphID *&glyphs, le_int32 *&charIndices, LEErrorCode &success) |
This method copies the input characters into the output glyph index array, for use by the canned GSUB table. More... | |
virtual void | adjustGlyphPositions (const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphID glyphs[], le_int32 glyphCount, float positions[], LEErrorCode &success) |
This method ensures that all vowel and accent glyphs have a zero advance width by calling the adjustMarkGlyphs method. More... |
It overrides the mapCharsToGlyphs method to use the Presentation Forms as logical glyph indices. It overrides the glyphPostProcessing method to convert the Presentation Forms to actual glyph indices.
Definition at line 157 of file ArabicLayoutEngine.h.
|
This constructs an instance of UnicodeArabicOpenTypeLayoutEngine for a specific font, script and language.
|
|
The destructor, virtual for correct polymorphic invocation.
|
|
This method ensures that all vowel and accent glyphs have a zero advance width by calling the adjustMarkGlyphs method. The character codes are used to identify the vowel and mark glyphs.
|
|
This method converts the Arabic Presentation Forms in the temp glyph array into actual glyph indices using ArabicOpenTypeLayoutEngine::mapCharsToGlyps. Input paramters:
|
|
This method copies the input characters into the output glyph index array, for use by the canned GSUB table. It also generates the character index array. Input parameters:
|