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

/external/icu/icu4c/source/layout/
H A DSinglePositioningSubtables.cpp18 le_uint32 SinglePositioningSubtable::process(const LEReferenceTo<SinglePositioningSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const argument
29 return subtable->process(subtable, glyphIterator, fontInstance, success);
36 return subtable->process(subtable, glyphIterator, fontInstance, success);
44 le_uint32 SinglePositioningFormat1Subtable::process(const LEReferenceTo<SinglePositioningFormat1Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const argument
46 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
50 valueRecord.adjustPosition(SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance); local
58 le_uint32 SinglePositioningFormat2Subtable::process(const LEReferenceTo<SinglePositioningFormat2Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const argument
60 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
64 valueRecordArray[0].adjustPosition(coverageIndex, SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance);
H A DAlternateSubstSubtables.cpp18 GlyphIterator *glyphIterator, LEErrorCode &success, const LEGlyphFilter *filter) const
21 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
34 glyphIterator->setCurrGlyphID(SWAPW(alternateSetTable->alternateArray[0]));
17 process(const LEReferenceTo<AlternateSubstitutionSubtable> &base, GlyphIterator *glyphIterator, LEErrorCode &success, const LEGlyphFilter *filter) const argument
H A DSingleSubstitutionSubtables.cpp17 le_uint32 SingleSubstitutionSubtable::process(const LEReferenceTo<SingleSubstitutionSubtable> &base, GlyphIterator *glyphIterator, LEErrorCode &success, const LEGlyphFilter *filter) const argument
28 return subtable->process(subtable, glyphIterator, success, filter);
35 return subtable->process(subtable, glyphIterator, success, filter);
43 le_uint32 SingleSubstitutionFormat1Subtable::process(const LEReferenceTo<SingleSubstitutionFormat1Subtable> &base, GlyphIterator *glyphIterator, LEErrorCode &success, const LEGlyphFilter *filter) const argument
45 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
52 glyphIterator->setCurrGlyphID(substitute);
61 le_uint32 SingleSubstitutionFormat2Subtable::process(const LEReferenceTo<SingleSubstitutionFormat2Subtable> &base, GlyphIterator *glyphIterator, LEErrorCode &success, const LEGlyphFilter *filter) const argument
63 LEGlyphID glyph = glyphIterator->getCurrGlyphID();
70 glyphIterator->setCurrGlyphID(substitute);
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(const LEReferenceTo<CursiveAttachmentSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) 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 DExtensionSubtables.cpp27 GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const
41 return lookupProcessor->applySubtable(subtable, elt, glyphIterator, fontInstance, success);
26 process(const LookupProcessor *lookupProcessor, const LETableReference &base, le_uint16 lookupType, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
H A DMultipleSubstSubtables.cpp17 le_uint32 MultipleSubstitutionSubtable::process(const LETableReference &base, 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(subtable, glyphIterator, fontInstance, success);
90 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
98 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
106 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
114 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
122 delta = subtable->process(subtable, glyphIterator, fontInstance, success);
130 delta = subtable->process(this, glyphIterator, fontInstance, success);
138 delta = subtable->process(this, glyphIterator, fontInstance, success);
146 delta = subtable->process(this, subtable, lookupType, glyphIterator, fontInstanc
62 applySubtable(const LEReferenceTo<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(subtable, glyphIterator, success, fFilter);
77 delta = subtable->process(subtable, glyphIterator, success, fFilter);
85 delta = subtable->process(subtable, glyphIterator, success, fFilter);
93 delta = subtable->process(subtable, glyphIterator, success, fFilter);
101 delta = subtable->process(this, glyphIterator, fontInstance, success);
109 delta = subtable->process(this, glyphIterator, fontInstance, success);
117 delta = subtable->process(this, subtable, lookupType, glyphIterator, fontInstance, success); // Google patch: add subtable
51 applySubtable(const LEReferenceTo<LookupSubtable> &lookupSubtable, le_uint16 lookupType, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
H A DLigatureSubstSubtables.cpp16 le_uint32 LigatureSubstitutionSubtable::process(const LETableReference &base, GlyphIterator *glyphIterator, LEErrorCode &success, 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 DMarkToBasePosnSubtables.cpp20 LEGlyphID MarkToBasePositioningSubtable::findBaseGlyph(GlyphIterator *glyphIterator) const
22 if (glyphIterator->prev()) {
23 return glyphIterator->getCurrGlyphID();
29 le_int32 MarkToBasePositioningSubtable::process(const LETableReference &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) 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 DMarkToMarkPosnSubtables.cpp20 LEGlyphID MarkToMarkPositioningSubtable::findMark2Glyph(GlyphIterator *glyphIterator) const
22 if (glyphIterator->findMark2Glyph()) {
23 return glyphIterator->getCurrGlyphID();
29 le_int32 MarkToMarkPositioningSubtable::process(const LETableReference &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) 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 DMarkToLigaturePosnSubtables.cpp19 LEGlyphID MarkToLigaturePositioningSubtable::findLigatureGlyph(GlyphIterator *glyphIterator) const
21 if (glyphIterator->prev()) {
22 return glyphIterator->getCurrGlyphID();
28 le_int32 MarkToLigaturePositioningSubtable::process(const LETableReference &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) 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 DPairPositioningSubtables.cpp19 le_uint32 PairPositioningSubtable::process(const LEReferenceTo<PairPositioningSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const argument
31 return subtable->process(subtable, glyphIterator, fontInstance, success);
41 return subtable->process(subtable, glyphIterator, fontInstance, success);
50 le_uint32 PairPositioningFormat1Subtable::process(const LEReferenceTo<PairPositioningFormat1Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const argument
52 LEGlyphID firstGlyph = glyphIterator->getCurrGlyphID();
54 GlyphIterator tempIterator(*glyphIterator);
56 if (coverageIndex >= 0 && glyphIterator->next()) {
63 LEGlyphID secondGlyph = glyphIterator->getCurrGlyphID();
81 valueRecord2->adjustPosition(SWAPW(valueFormat2), (char *) this, *glyphIterator, fontInstance); local
84 // back up glyphIterator s
93 process(const LEReferenceTo<PairPositioningFormat2Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const argument
120 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 LEReferenceTo<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)
134 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
149 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
188 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
238 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
292 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
325 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
370 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
442 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const argument
524 process(const LookupProcessor *lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode & success) const argument
[all...]

Completed in 237 milliseconds