Searched defs:glyphIterator (Results 1 - 17 of 17) sorted by relevance

/external/icu4c/layout/
H A DSinglePositioningSubtables.cpp18 le_uint32 SinglePositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
29 return subtable->process(glyphIterator, fontInstance);
36 return subtable->process(glyphIterator, fontInstance);
44 le_uint32 SinglePositioningFormat1Subtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
46 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
50 valueRecord.adjustPosition(SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance); local
58 le_uint32 SinglePositioningFormat2Subtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
60 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
64 valueRecordArray[0].adjustPosition(coverageIndex, SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance);
H A DSingleSubstitutionSubtables.cpp17 le_uint32 SingleSubstitutionSubtable::process(GlyphIterator *glyphIterator, const LEGlyphFilter *filter) const argument
28 return subtable->process(glyphIterator, filter);
35 return subtable->process(glyphIterator, filter);
43 le_uint32 SingleSubstitutionFormat1Subtable::process(GlyphIterator *glyphIterator, const LEGlyphFilter *filter) const argument
45 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
52 glyphIterator->setCurrGlyphID(substitute);
61 le_uint32 SingleSubstitutionFormat2Subtable::process(GlyphIterator *glyphIterator, const LEGlyphFilter *filter) const argument
63 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
70 glyphIterator->setCurrGlyphID(substitute);
H A DAlternateSubstSubtables.cpp17 le_uint32 AlternateSubstitutionSubtable::process(GlyphIterator *glyphIterator, const LEGlyphFilter *filter) const argument
20 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
33 glyphIterator->setCurrGlyphID(SWAPW(alternateSetTable->alternateArray[0]));
H A DExtensionSubtables.cpp23 GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const
35 return lookupProcessor->applySubtable(subtable, elt, glyphIterator, fontInstance, success);
22 process(const LookupProcessor *lookupProcessor, le_uint16 lookupType, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
H A DSubstitutionLookups.cpp29 GlyphIterator *glyphIterator,
38 GlyphIterator tempIterator(*glyphIterator);
25 applySubstitutionLookups( LookupProcessor *lookupProcessor, SubstitutionLookupRecord *substLookupRecordArray, le_uint16 substCount, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, le_int32 position, LEErrorCode& success) argument
H A DCursiveAttachmentSubtables.cpp17 le_uint32 CursiveAttachmentSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
19 LEGlyphID glyphID = glyphIterator->getCurrGlyphID();
24 glyphIterator->setCursiveGlyph();
36 glyphIterator->setCursiveEntryPoint(entryAnchor);
38 //glyphIterator->clearCursiveEntryPoint();
45 glyphIterator->setCursiveExitPoint(exitAnchor);
47 //glyphIterator->clearCursiveExitPoint();
H A DLigatureSubstSubtables.cpp16 le_uint32 LigatureSubstitutionSubtable::process(GlyphIterator *glyphIterator, const LEGlyphFilter *filter) const argument
18 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
30 le_int32 startPosition = glyphIterator->getCurrStreamPosition();
35 if (! glyphIterator->next()) {
39 if (LE_GET_GLYPH(glyphIterator->getCurrGlyphID()) != SWAPW(ligTable->componentArray[comp])) {
45 GlyphIterator tempIterator(*glyphIterator);
60 glyphIterator->setCurrStreamPosition(startPosition);
H A DMultipleSubstSubtables.cpp17 le_uint32 MultipleSubstitutionSubtable::process(GlyphIterator *glyphIterator, LEErrorCode& success, const LEGlyphFilter *filter) const argument
23 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
45 glyphIterator->setCurrGlyphID(0xFFFF);
54 glyphIterator->setCurrGlyphID(substitute);
69 LEGlyphID *newGlyphs = glyphIterator->insertGlyphs(glyphCount, success);
76 if (glyphIterator->isRightToLeft()) {
H A DGlyphPosnLookupProc.cpp63 GlyphIterator *glyphIterator,
82 delta = subtable->process(glyphIterator, fontInstance);
90 delta = subtable->process(glyphIterator, fontInstance);
98 delta = subtable->process(glyphIterator, fontInstance);
106 delta = subtable->process(glyphIterator, fontInstance);
114 delta = subtable->process(glyphIterator, fontInstance);
122 delta = subtable->process(glyphIterator, fontInstance);
130 delta = subtable->process(this, glyphIterator, fontInstance, success);
138 delta = subtable->process(this, glyphIterator, fontInstance, success);
146 delta = subtable->process(this, lookupType, glyphIterator, fontInstanc
62 applySubtable(const LookupSubtable *lookupSubtable, le_uint16 lookupType, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
[all...]
H A DGlyphSubstLookupProc.cpp52 GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const
69 delta = subtable->process(glyphIterator, fFilter);
77 delta = subtable->process(glyphIterator, success, fFilter);
85 delta = subtable->process(glyphIterator, fFilter);
93 delta = subtable->process(glyphIterator, fFilter);
101 delta = subtable->process(this, glyphIterator, fontInstance, success);
109 delta = subtable->process(this, glyphIterator, fontInstance, success);
117 delta = subtable->process(this, lookupType, glyphIterator, fontInstance, success);
51 applySubtable(const LookupSubtable *lookupSubtable, le_uint16 lookupType, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
H A DMarkToBasePosnSubtables.cpp20 LEGlyphID MarkToBasePositioningSubtable::findBaseGlyph(GlyphIterator *glyphIterator) const
22 if (glyphIterator->prev()) {
23 return glyphIterator->getCurrGlyphID();
29 le_int32 MarkToBasePositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
31 LEGlyphID markGlyph = glyphIterator->getCurrGlyphID();
51 GlyphIterator baseIterator(*glyphIterator, (le_uint16) (lfIgnoreMarks /*| lfIgnoreLigatures*/));
71 glyphIterator->setCurrGlyphBaseOffset(baseIterator.getCurrStreamPosition());
83 glyphIterator->setCurrGlyphBaseOffset(baseIterator.getCurrStreamPosition());
85 if (glyphIterator->isRightToLeft()) {
88 glyphIterator
[all...]
H A DMarkToLigaturePosnSubtables.cpp19 LEGlyphID MarkToLigaturePositioningSubtable::findLigatureGlyph(GlyphIterator *glyphIterator) const
21 if (glyphIterator->prev()) {
22 return glyphIterator->getCurrGlyphID();
28 le_int32 MarkToLigaturePositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
30 LEGlyphID markGlyph = glyphIterator->getCurrGlyphID();
50 GlyphIterator ligatureIterator(*glyphIterator, (le_uint16) (lfIgnoreMarks /*| lfIgnoreBaseGlyphs*/));
63 le_int32 markPosition = glyphIterator->getCurrStreamPosition();
87 glyphIterator->setCurrGlyphBaseOffset(ligatureIterator.getCurrStreamPosition());
89 if (glyphIterator->isRightToLeft()) {
90 glyphIterator
[all...]
H A DMarkToMarkPosnSubtables.cpp20 LEGlyphID MarkToMarkPositioningSubtable::findMark2Glyph(GlyphIterator *glyphIterator) const
22 if (glyphIterator->findMark2Glyph()) {
23 return glyphIterator->getCurrGlyphID();
29 le_int32 MarkToMarkPositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
31 LEGlyphID markGlyph = glyphIterator->getCurrGlyphID();
50 GlyphIterator mark2Iterator(*glyphIterator);
81 glyphIterator->setCurrGlyphBaseOffset(mark2Iterator.getCurrStreamPosition());
83 if (glyphIterator->isRightToLeft()) {
84 glyphIterator->setCurrGlyphPositionAdjustment(anchorDiffX, anchorDiffY, -markAdvance.fX, -markAdvance.fY);
91 glyphIterator
[all...]
H A DPairPositioningSubtables.cpp19 le_uint32 PairPositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
30 return subtable->process(glyphIterator, fontInstance);
37 return subtable->process(glyphIterator, fontInstance);
45 le_uint32 PairPositioningFormat1Subtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
47 LEGlyphID firstGlyph = glyphIterator->getCurrGlyphID();
49 GlyphIterator tempIterator(*glyphIterator);
51 if (coverageIndex >= 0 && glyphIterator->next()) {
58 LEGlyphID secondGlyph = glyphIterator->getCurrGlyphID();
76 valueRecord2->adjustPosition(SWAPW(valueFormat2), (char *) this, *glyphIterator, fontInstance); local
79 // back up glyphIterator s
88 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const argument
115 valueRecord2->adjustPosition(SWAPW(valueFormat2), (const char *) this, *glyphIterator, fontInstance); local
[all...]
H A DValueRecords.cpp37 void ValueRecord::adjustPosition(ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator, argument
137 glyphIterator.adjustCurrGlyphPositionAdjustment(
141 void ValueRecord::adjustPosition(le_int16 index, ValueFormat valueFormat, const char *base, GlyphIterator &glyphIterator, argument
241 glyphIterator.adjustCurrGlyphPositionAdjustment(
H A DLookupProcessor.cpp22 le_uint32 LookupProcessor::applyLookupTable(const LookupTable *lookupTable, GlyphIterator *glyphIterator, argument
31 le_int32 startPosition = glyphIterator->getCurrStreamPosition();
37 delta = applySubtable(lookupSubtable, lookupType, glyphIterator, fontInstance, success);
43 glyphIterator->setCurrStreamPosition(startPosition);
63 GlyphIterator glyphIterator(glyphStorage, glyphPositionAdjustments,
78 glyphIterator.reset(lookupFlags, selectMask);
80 while (glyphIterator.findFeatureTag()) {
81 applyLookupTable(lookupTable, &glyphIterator, fontInstance, success);
87 newGlyphCount = glyphIterator.applyInsertions();
94 le_uint32 LookupProcessor::applySingleLookup(le_uint16 lookupTableIndex, GlyphIterator *glyphIterator, argument
[all...]
H A DContextualSubstSubtables.cpp28 GlyphIterator *glyphIterator,
37 GlyphIterator tempIterator(*glyphIterator);
51 GlyphIterator *glyphIterator, le_bool backtrack)
62 if (! glyphIterator->next()) {
66 TTGlyphID glyph = (TTGlyphID) glyphIterator->getCurrGlyphID();
80 GlyphIterator *glyphIterator,
93 if (! glyphIterator->next()) {
97 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
119 GlyphIterator *glyphIterator, const char *offsetBase, le_bool backtrack)
133 if (! glyphIterator
24 applySubstitutionLookups( const LookupProcessor *lookupProcessor, const SubstitutionLookupRecord *substLookupRecordArray, le_uint16 substCount, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, le_int32 position, LEErrorCode& success) argument
50 matchGlyphIDs(const TTGlyphID *glyphArray, le_uint16 glyphCount, GlyphIterator *glyphIterator, le_bool backtrack) argument
79 matchGlyphClasses(const le_uint16 *classArray, le_uint16 glyphCount, GlyphIterator *glyphIterator, const ClassDefinitionTable *classDefinitionTable, le_bool backtrack) argument
118 matchGlyphCoverages(const Offset *coverageTableOffsetArray, le_uint16 glyphCount, GlyphIterator *glyphIterator, const char *offsetBase, le_bool backtrack) argument
148 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
185 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
234 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
286 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
319 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
362 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
433 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
513 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode & success) const argument
[all...]

Completed in 177 milliseconds