Logo Search packages:      
Sourcecode: icu version File versions  Download package

HangulOpenTypeLayoutEngine::HangulOpenTypeLayoutEngine ( const LEFontInstance fontInstance,
le_int32  scriptCode,
le_int32  languageCode,
le_int32  typoFlags,
const GlyphSubstitutionTableHeader gsubTable,
LEErrorCode success 
)

This is the main constructor. It constructs an instance of HangulOpenTypeLayoutEngine for a particular font, script and language. It takes the GSUB table as a parameter since LayoutEngine::layoutEngineFactory has to read the GSUB table to know that it has an Hangul OpenType font.

Parameters:
fontInstance- the font
scriptCode- the script
langaugeCode- the language
gsubTable- the GSUB table
success- set to an error code if the operation fails
See also:
LayoutEngine::layoutEngineFactory
OpenTypeLayoutEngine
ScriptAndLangaugeTags.h for script and language codes

Definition at line 186 of file HangulLayoutEngine.cpp.

References OpenTypeLayoutEngine::fFeatureMap, OpenTypeLayoutEngine::fFeatureMapCount, OpenTypeLayoutEngine::fFeatureOrder, and TRUE.

    : OpenTypeLayoutEngine(fontInstance, scriptCode, korLanguageCode, typoFlags, gsubTable, success)
{
    fFeatureMap = featureMap;
    fFeatureMapCount = featureMapCount;
    fFeatureOrder = TRUE;
}

Generated by  Doxygen 1.6.0   Back to index