Home
last modified time | relevance | path

Searched refs:fontInstance (Results 1 – 25 of 58) sorted by relevance

123

/external/icu4c/layout/
DValueRecords.cpp38 const LEFontInstance *fontInstance) const in adjustPosition()
49 fontInstance->transformFunits(value, 0, pixels); in adjustPosition()
51 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); in adjustPosition()
52 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); in adjustPosition()
59 fontInstance->transformFunits(0, value, pixels); in adjustPosition()
61 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); in adjustPosition()
62 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); in adjustPosition()
69 fontInstance->transformFunits(value, 0, pixels); in adjustPosition()
71 xAdvanceAdjustment += fontInstance->xPixelsToUnits(pixels.fX); in adjustPosition()
72 yAdvanceAdjustment += fontInstance->yPixelsToUnits(pixels.fY); in adjustPosition()
[all …]
DAnchorTables.cpp15 void AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, in getAnchor() argument
23 f1->getAnchor(fontInstance, anchor); in getAnchor()
31 f2->getAnchor(glyphID, fontInstance, anchor); in getAnchor()
39 f3->getAnchor(fontInstance, anchor); in getAnchor()
47 f1->getAnchor(fontInstance, anchor); in getAnchor()
52 void Format1AnchorTable::getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const in getAnchor() argument
58 fontInstance->transformFunits(x, y, pixels); in getAnchor()
60 fontInstance->pixelsToUnits(pixels, anchor); in getAnchor()
63 void Format2AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &… in getAnchor() argument
67 if (! fontInstance->getGlyphPoint(glyphID, SWAPW(anchorPoint), point)) { in getAnchor()
[all …]
DGlyphPosnLookupProc.cpp64 const LEFontInstance *fontInstance, in applySubtable() argument
82 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
90 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
98 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
106 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
114 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
122 delta = subtable->process(glyphIterator, fontInstance); in applySubtable()
130 delta = subtable->process(this, glyphIterator, fontInstance, success); in applySubtable()
138 delta = subtable->process(this, glyphIterator, fontInstance, success); in applySubtable()
146 delta = subtable->process(this, lookupType, glyphIterator, fontInstance, success); in applySubtable()
DSinglePositioningSubtables.cpp18 …ositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
29 return subtable->process(glyphIterator, fontInstance); in process()
36 return subtable->process(glyphIterator, fontInstance); in process()
44 …ingFormat1Subtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
50 … valueRecord.adjustPosition(SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance); in process()
58 …ingFormat2Subtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
64 …justPosition(coverageIndex, SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance); in process()
DMarkToBasePosnSubtables.cpp29 …ositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
41 le_int32 markClass = markArray->getMarkClass(markGlyph, markCoverage, fontInstance, markAnchor); in process()
75 anchorTable->getAnchor(baseGlyph, fontInstance, baseAnchor); in process()
77 fontInstance->getGlyphAdvance(markGlyph, pixels); in process()
78 fontInstance->pixelsToUnits(pixels, markAdvance); in process()
92 fontInstance->getGlyphAdvance(baseGlyph, pixels); in process()
100 fontInstance->getGlyphAdvance(otherMark, px); // get advance, in case it's non-zero in process()
107 fontInstance->pixelsToUnits(pixels, baseAdvance); in process()
DContextualSubstSubtables.cpp29 const LEFontInstance *fontInstance, in applySubstitutionLookups() argument
46 lookupProcessor->applySingleLookup(lookupListIndex, &tempIterator, fontInstance, success); in applySubstitutionLookups()
150 const LEFontInstance *fontInstance, in process() argument
165 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process()
171 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process()
177 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process()
187 const LEFontInstance *fontInstance, in process() argument
219 …s(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, succ… in process()
236 const LEFontInstance *fontInstance, in process() argument
271 …s(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, succ… in process()
[all …]
DContextualSubstSubtables.h49 const LEFontInstance *fontInstance,
56 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
64 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
89 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
119 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
124 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
132 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
163 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
201 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
DThaiLayoutEngine.cpp22 ThaiLayoutEngine::ThaiLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int3… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
23 : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 if (! fontInstance->canDisplay(0x0E01)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
31 } else if (fontInstance->canDisplay(0x0E64)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
34 } else if (fontInstance->canDisplay(0xF701)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
38 if (!fontInstance->canDisplay(fErrorChar)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
41 } else if (fontInstance->canDisplay(0xF885)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
DLayoutEngine.cpp79 CharSubstitutionFilter::CharSubstitutionFilter(const LEFontInstance *fontInstance) in CharSubstitutionFilter() argument
80 : fFontInstance(fontInstance) in CharSubstitutionFilter()
137 LayoutEngine::LayoutEngine(const LEFontInstance *fontInstance, in LayoutEngine() argument
142 …: fGlyphStorage(NULL), fFontInstance(fontInstance), fScriptCode(scriptCode), fLanguageCode(languag… in LayoutEngine()
511 LayoutEngine *LayoutEngine::layoutEngineFactory(const LEFontInstance *fontInstance, le_int32 script… in layoutEngineFactory() argument
514 return LayoutEngine::layoutEngineFactory(fontInstance, scriptCode, languageCode, 3, success); in layoutEngineFactory()
517 LayoutEngine *LayoutEngine::layoutEngineFactory(const LEFontInstance *fontInstance, le_int32 script… in layoutEngineFactory() argument
526 …tutionTableHeader *gsubTable = (const GlyphSubstitutionTableHeader *) fontInstance->getFontTable(g… in layoutEngineFactory()
536 …result = new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, TRUE, gs… in layoutEngineFactory()
550 …result = new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, FALSE, g… in layoutEngineFactory()
[all …]
DMarkToMarkPosnSubtables.cpp29 …ositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
41 le_int32 markClass = markArray->getMarkClass(markGlyph, markCoverage, fontInstance, markAnchor); in process()
73 anchorTable->getAnchor(mark2Glyph, fontInstance, mark2Anchor); in process()
75 fontInstance->getGlyphAdvance(markGlyph, pixels); in process()
76 fontInstance->pixelsToUnits(pixels, markAdvance); in process()
88 fontInstance->getGlyphAdvance(mark2Glyph, pixels); in process()
89 fontInstance->pixelsToUnits(pixels, mark2Advance); in process()
DPairPositioningSubtables.cpp19 …ositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
30 return subtable->process(glyphIterator, fontInstance); in process()
37 return subtable->process(glyphIterator, fontInstance); in process()
45 …ingFormat1Subtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
70 …ecord->valueRecord1.adjustPosition(SWAPW(valueFormat1), (char *) this, tempIterator, fontInstance); in process()
76 … valueRecord2->adjustPosition(SWAPW(valueFormat2), (char *) this, *glyphIterator, fontInstance); in process()
88 …ingFormat2Subtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
109 …ecord->valueRecord1.adjustPosition(SWAPW(valueFormat1), (char *) this, tempIterator, fontInstance); in process()
115 …lueRecord2->adjustPosition(SWAPW(valueFormat2), (const char *) this, *glyphIterator, fontInstance); in process()
DMarkToLigaturePosnSubtables.cpp28 …ositioningSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
40 le_int32 markClass = markArray->getMarkClass(markGlyph, markCoverage, fontInstance, markAnchor); in process()
79 anchorTable->getAnchor(ligatureGlyph, fontInstance, ligatureAnchor); in process()
81 fontInstance->getGlyphAdvance(markGlyph, pixels); in process()
82 fontInstance->pixelsToUnits(pixels, markAdvance); in process()
94 fontInstance->getGlyphAdvance(ligatureGlyph, pixels); in process()
95 fontInstance->pixelsToUnits(pixels, ligatureAdvance); in process()
DAnchorTables.h27 void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance,
33 void getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const;
40 void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const;
48 void getAnchor(const LEFontInstance *fontInstance, LEPoint &anchor) const;
DArabicLayoutEngine.cpp36 ArabicOpenTypeLayoutEngine::ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
38 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
44 ArabicOpenTypeLayoutEngine::ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32… in ArabicOpenTypeLayoutEngine() argument
46 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in ArabicOpenTypeLayoutEngine()
129 …LayoutEngine::UnicodeArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scrip… in UnicodeArabicOpenTypeLayoutEngine() argument
130 : ArabicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in UnicodeArabicOpenTypeLayoutEngine()
135 fSubstitutionFilter = new CharSubstitutionFilter(fontInstance); in UnicodeArabicOpenTypeLayoutEngine()
DLookupProcessor.h37 …initionTableHeader *glyphDefinitionTableHeader, const LEFontInstance *fontInstance, LEErrorCode& s…
39 …ble *lookupTable, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
41 …lookupTableIndex, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
44 … GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const = 0;
DKhmerLayoutEngine.cpp20 KhmerOpenTypeLayoutEngine::KhmerOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 s… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
22 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 KhmerOpenTypeLayoutEngine::KhmerOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 s… in KhmerOpenTypeLayoutEngine() argument
30 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in KhmerOpenTypeLayoutEngine()
DTibetanLayoutEngine.cpp26 TibetanOpenTypeLayoutEngine::TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
34 TibetanOpenTypeLayoutEngine::TibetanOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int… in TibetanOpenTypeLayoutEngine() argument
36 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in TibetanOpenTypeLayoutEngine()
DSinglePositioningSubtables.h26 le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
34 le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
43 le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
DGlyphSubstLookupProc.cpp52 … GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& success) const in applySubtable() argument
101 delta = subtable->process(this, glyphIterator, fontInstance, success); in applySubtable()
109 delta = subtable->process(this, glyphIterator, fontInstance, success); in applySubtable()
117 delta = subtable->process(this, lookupType, glyphIterator, fontInstance, success); in applySubtable()
DGlyphPositioningTables.cpp22 …const LEFontInstance *fontInstance, const FeatureMap *featureMap, le_int32 featureMapCount, le_boo… in process() argument
33 …Storage, glyphPositionAdjustments, rightToLeft, glyphDefinitionTableHeader, fontInstance, success); in process()
35 glyphPositionAdjustments->applyCursiveAdjustments(glyphStorage, rightToLeft, fontInstance); in process()
DCursiveAttachmentSubtables.cpp17 …AttachmentSubtable::process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const in process()
35 entryAnchorTable->getAnchor(glyphID, fontInstance, entryAnchor); in process()
44 exitAnchorTable->getAnchor(glyphID, fontInstance, exitAnchor); in process()
DPairPositioningSubtables.h43 le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
51 le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
78 le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
DGlyphPositionAdjustments.cpp84 …eAdjustments(LEGlyphStorage &glyphStorage, le_bool rightToLeft, const LEFontInstance *fontInstance) in applyCursiveAdjustments() argument
120 fontInstance->getGlyphAdvance(glyphID, pixels); in applyCursiveAdjustments()
121 fontInstance->pixelsToUnits(pixels, secondAdvance); in applyCursiveAdjustments()
127 fontInstance->getGlyphAdvance(lastExitGlyphID, pixels); in applyCursiveAdjustments()
128 fontInstance->pixelsToUnits(pixels, firstAdvance); in applyCursiveAdjustments()
DIndicLayoutEngine.cpp27 IndicOpenTypeLayoutEngine::IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 s… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
29 …: OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success), fMP… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
41 IndicOpenTypeLayoutEngine::IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 s… in IndicOpenTypeLayoutEngine() argument
42 …: OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fMPreFixups(NU… in IndicOpenTypeLayoutEngine()
DLookupProcessor.cpp23 … const LEFontInstance *fontInstance, LEErrorCode& success) const in applyLookupTable() argument
37 delta = applySubtable(lookupSubtable, lookupType, glyphIterator, fontInstance, success); in applyLookupTable()
51 const LEFontInstance *fontInstance, LEErrorCode& success) const in process() argument
78 applyLookupTable(lookupTable, &glyphIterator, fontInstance, success); in process()
92 … const LEFontInstance *fontInstance, LEErrorCode& success) const in applySingleLookup() argument
101 le_uint32 delta = applyLookupTable(lookupTable, &tempIterator, fontInstance, success); in applySingleLookup()

123