]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved | |
3 | * | |
4 | */ | |
5 | ||
6 | #include "LETypes.h" | |
7 | #include "LEFontInstance.h" | |
8 | #include "OpenTypeTables.h" | |
9 | #include "Lookups.h" | |
10 | #include "GlyphDefinitionTables.h" | |
11 | #include "GlyphPositioningTables.h" | |
12 | #include "GlyphPosnLookupProc.h" | |
13 | #include "CursiveAttachmentSubtables.h" | |
14 | #include "LEGlyphStorage.h" | |
15 | #include "GlyphPositionAdjustments.h" | |
16 | ||
17 | U_NAMESPACE_BEGIN | |
18 | ||
19 | void GlyphPositioningTableHeader::process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments, le_bool rightToLeft, | |
20 | LETag scriptTag, LETag languageTag, | |
21 | const GlyphDefinitionTableHeader *glyphDefinitionTableHeader, | |
22 | const LEFontInstance *fontInstance, const FeatureMap *featureMap, le_int32 featureMapCount, le_bool featureOrder) const | |
23 | { | |
24 | GlyphPositioningLookupProcessor processor(this, scriptTag, languageTag, featureMap, featureMapCount, featureOrder); | |
25 | ||
26 | processor.process(glyphStorage, glyphPositionAdjustments, rightToLeft, glyphDefinitionTableHeader, fontInstance); | |
27 | ||
28 | glyphPositionAdjustments->applyCursiveAdjustments(glyphStorage, rightToLeft, fontInstance); | |
29 | } | |
30 | ||
31 | U_NAMESPACE_END |