Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/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(subtable, glyphIterator, fontInstance, success); in applySubtable()
90 delta = subtable->process(subtable, glyphIterator, fontInstance, success); in applySubtable()
98 delta = subtable->process(subtable, glyphIterator, fontInstance, success); in applySubtable()
106 delta = subtable->process(subtable, glyphIterator, fontInstance, success); in applySubtable()
114 delta = subtable->process(subtable, glyphIterator, fontInstance, success); in applySubtable()
122 delta = subtable->process(subtable, glyphIterator, fontInstance, success); 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, subtable, lookupType, glyphIterator, fontInstance, success); // G… in applySubtable()
DSinglePositioningSubtables.cpp18 …gSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
29 return subtable->process(subtable, glyphIterator, fontInstance, success); in process()
36 return subtable->process(subtable, glyphIterator, fontInstance, success); in process()
44 …1Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
50 … valueRecord.adjustPosition(SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance); in process()
58 …2Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
64 …justPosition(coverageIndex, SWAPW(valueFormat), (const char *) this, *glyphIterator, fontInstance); in process()
DLayoutEngine.cpp84 CharSubstitutionFilter::CharSubstitutionFilter(const LEFontInstance *fontInstance) in CharSubstitutionFilter() argument
85 : fFontInstance(fontInstance) in CharSubstitutionFilter()
143 LayoutEngine::LayoutEngine(const LEFontInstance *fontInstance, in LayoutEngine() argument
148 …: fGlyphStorage(NULL), fFontInstance(fontInstance), fScriptCode(scriptCode), fLanguageCode(languag… in LayoutEngine()
519 LayoutEngine *LayoutEngine::layoutEngineFactory(const LEFontInstance *fontInstance, le_int32 script… in layoutEngineFactory() argument
522 …return LayoutEngine::layoutEngineFactory(fontInstance, scriptCode, languageCode, LE_DEFAULT_FEATUR… in layoutEngineFactory()
525 LayoutEngine *LayoutEngine::layoutEngineFactory(const LEFontInstance *fontInstance, le_int32 script… in layoutEngineFactory() argument
535 LEReferenceTo<GlyphSubstitutionTableHeader> gsubTable(fontInstance,gsubTableTag,success); in layoutEngineFactory()
545 …result = new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, TRUE, gs… in layoutEngineFactory()
559 …result = new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, FALSE, g… in layoutEngineFactory()
[all …]
DContextualSubstSubtables.cpp29 const LEFontInstance *fontInstance, in applySubstitutionLookups() argument
46 lookupProcessor->applySingleLookup(lookupListIndex, &tempIterator, fontInstance, success); in applySubstitutionLookups()
151 const LEFontInstance *fontInstance, in process() argument
168 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process()
174 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process()
180 return subtable->process(lookupProcessor, glyphIterator, fontInstance, success); in process()
190 const LEFontInstance *fontInstance, in process() argument
223 …s(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, succ… in process()
240 const LEFontInstance *fontInstance, in process() argument
277 …s(lookupProcessor, substLookupRecordArray, substCount, glyphIterator, fontInstance, position, succ… in process()
[all …]
DMarkToBasePosnSubtables.cpp29 …eReference &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
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()
DMarkToMarkPosnSubtables.cpp29 …eReference &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
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()
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()
DContextualSubstSubtables.h50 const LEFontInstance *fontInstance,
57 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
65 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
94 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
130 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
136 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
144 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
179 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
221 …*lookupProcessor, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
DMarkToLigaturePosnSubtables.cpp28 …eReference &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
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()
DPairPositioningSubtables.cpp19 …gSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
31 return subtable->process(subtable, glyphIterator, fontInstance, success); in process()
41 return subtable->process(subtable, glyphIterator, fontInstance, success); in process()
50 …1Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
75 …ecord->valueRecord1.adjustPosition(SWAPW(valueFormat1), (char *) this, tempIterator, fontInstance); in process()
81 … valueRecord2->adjustPosition(SWAPW(valueFormat2), (char *) this, *glyphIterator, fontInstance); in process()
93 …2Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
114 …ecord->valueRecord1.adjustPosition(SWAPW(valueFormat1), (char *) this, tempIterator, fontInstance); in process()
120 …lueRecord2->adjustPosition(SWAPW(valueFormat2), (const char *) this, *glyphIterator, fontInstance); 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;
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()
DLookupProcessor.h38 …nitionTableHeader> &glyphDefinitionTableHeader, const LEFontInstance *fontInstance, LEErrorCode& s…
40 …le> &lookupTable, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
42 …lookupTableIndex, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode& s…
45 … 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()
DArabicLayoutEngine.cpp36 ArabicOpenTypeLayoutEngine::ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
40 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, gsubTable, success) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
46 ArabicOpenTypeLayoutEngine::ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32… in ArabicOpenTypeLayoutEngine() argument
49 : OpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success) in ArabicOpenTypeLayoutEngine()
132 …LayoutEngine::UnicodeArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scrip… in UnicodeArabicOpenTypeLayoutEngine() argument
133 …: ArabicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags | LE_CHAR_FILTER_FE… in UnicodeArabicOpenTypeLayoutEngine()
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, subtable, lookupType, glyphIterator, fontInstance, success); // G… 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()
DSinglePositioningSubtables.h26 …gSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s…
34 …1Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s…
43 …2Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s…
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()
DCursiveAttachmentSubtables.cpp17 …tSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s… in process() argument
38 entryAnchorTable->getAnchor(glyphID, fontInstance, entryAnchor); in process()
47 exitAnchorTable->getAnchor(glyphID, fontInstance, exitAnchor); in process()
DPairPositioningSubtables.h44 …gSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s…
52 …1Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s…
81 …2Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &s…
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()
DArabicLayoutEngine.h52 …ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langu…
69 …ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langu…
171 …UnicodeArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int3…

123