Home
last modified time | relevance | path

Searched refs:glyphID (Results 1 – 25 of 28) sorted by relevance

12

/external/webkit/WebCore/platform/graphics/android/
DGlyphMapAndroid.cpp72 uint16_t glyphID = glyphs[i]; in fill() local
74 if (!glyphID) in fill()
75 glyphID = EmojiFont::UnicharToGlyph(uni); in fill()
76 setGlyphDataForIndex(offset + i, glyphID, fontData); in fill()
77 allGlyphs |= glyphID; in fill()
81 uint16_t glyphID = glyphs[i]; in fill() local
82 setGlyphDataForIndex(offset + i, glyphID, fontData); in fill()
83 allGlyphs |= glyphID; in fill()
/external/icu4c/layout/
DCoverageTables.cpp15 le_int32 CoverageTable::getGlyphCoverage(LEGlyphID glyphID) const in getGlyphCoverage()
26 return f1Table->getGlyphCoverage(glyphID); in getGlyphCoverage()
33 return f2Table->getGlyphCoverage(glyphID); in getGlyphCoverage()
41 le_int32 CoverageFormat1Table::getGlyphCoverage(LEGlyphID glyphID) const in getGlyphCoverage()
43 TTGlyphID ttGlyphID = (TTGlyphID) LE_GET_GLYPH(glyphID); in getGlyphCoverage()
74 le_int32 CoverageFormat2Table::getGlyphCoverage(LEGlyphID glyphID) const in getGlyphCoverage()
76 TTGlyphID ttGlyphID = (TTGlyphID) LE_GET_GLYPH(glyphID); in getGlyphCoverage()
DClassDefinitionTables.cpp15 le_int32 ClassDefinitionTable::getGlyphClass(LEGlyphID glyphID) const in getGlyphClass()
25 return f1Table->getGlyphClass(glyphID); in getGlyphClass()
32 return f2Table->getGlyphClass(glyphID); in getGlyphClass()
65 le_int32 ClassDefFormat1Table::getGlyphClass(LEGlyphID glyphID) const in getGlyphClass()
67 TTGlyphID ttGlyphID = (TTGlyphID) LE_GET_GLYPH(glyphID); in getGlyphClass()
92 le_int32 ClassDefFormat2Table::getGlyphClass(LEGlyphID glyphID) const in getGlyphClass()
94 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyphID); in getGlyphClass()
DLookups.h36 inline le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
38 le_int32 getGlyphCoverage(Offset tableOffset, LEGlyphID glyphID) const;
59 inline le_int32 LookupSubtable::getGlyphCoverage(LEGlyphID glyphID) const in getGlyphCoverage() argument
61 return getGlyphCoverage(coverageTableOffset, glyphID); in getGlyphCoverage()
DCursiveAttachmentSubtables.cpp19 LEGlyphID glyphID = glyphIterator->getCurrGlyphID(); in process() local
20 le_int32 coverageIndex = getGlyphCoverage(glyphID); in process()
35 entryAnchorTable->getAnchor(glyphID, fontInstance, entryAnchor); in process()
44 exitAnchorTable->getAnchor(glyphID, fontInstance, exitAnchor); in process()
DCoverageTables.h24 le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
32 le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
40 le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
DOpenTypeUtilities.cpp81 le_int32 OpenTypeUtilities::getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, … in getGlyphRangeIndex() argument
93 if (SWAPW(records[extra].firstGlyph) <= glyphID) { in getGlyphRangeIndex()
100 if (SWAPW(records[range + probe].firstGlyph) <= glyphID) { in getGlyphRangeIndex()
105 if (SWAPW(records[range].firstGlyph) <= glyphID && SWAPW(records[range].lastGlyph) >= glyphID) { in getGlyphRangeIndex()
DAnchorTables.cpp15 void AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, in getAnchor() argument
31 f2->getAnchor(glyphID, fontInstance, 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()
DClassDefinitionTables.h24 le_int32 getGlyphClass(LEGlyphID glyphID) const;
34 le_int32 getGlyphClass(LEGlyphID glyphID) const;
50 le_int32 getGlyphClass(LEGlyphID glyphID) const;
DPairPositioningSubtables.cpp127 const PairValueRecord *PairPositioningFormat1Subtable::findPairValueRecord(TTGlyphID glyphID, const… in findPairValueRecord() argument
136 if (SWAPW(record->secondGlyph) == glyphID) { in findPairValueRecord()
150 if (SWAPW(trial->secondGlyph) <= glyphID) { in findPairValueRecord()
158 if (SWAPW(trial->secondGlyph) <= glyphID) { in findPairValueRecord()
163 if (SWAPW(record->secondGlyph) == glyphID) { in findPairValueRecord()
DMarkArrays.cpp16 le_int32 MarkArray::getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *f… in getMarkClass() argument
29 anchorTable->getAnchor(glyphID, fontInstance, anchor); in getMarkClass()
DGlyphIterator.cpp193 void GlyphIterator::setCurrGlyphID(TTGlyphID glyphID) in setCurrGlyphID() argument
197 glyphStorage[position] = LE_SET_GLYPH(glyph, glyphID); in setCurrGlyphID()
358 LEGlyphID glyphID = glyphStorage[index]; in filterGlyph() local
361 if (LE_GET_GLYPH(glyphID) >= 0xFFFE) { in filterGlyph()
366 glyphClass = glyphClassDefinitionTable->getGlyphClass(glyphID); in filterGlyph()
389 return markAttachClassDefinitionTable->getGlyphClass(glyphID) != markAttachType; in filterGlyph()
DAnchorTables.h27 void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance,
40 void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const;
DLookups.cpp37 le_int32 LookupSubtable::getGlyphCoverage(Offset tableOffset, LEGlyphID glyphID) const in getGlyphCoverage()
41 return coverageTable->getGlyphCoverage(glyphID); in getGlyphCoverage()
DGlyphPositionAdjustments.cpp107 LEGlyphID glyphID = glyphStorage[i]; in applyCursiveAdjustments() local
120 fontInstance->getGlyphAdvance(glyphID, pixels); in applyCursiveAdjustments()
141 lastExitGlyphID = glyphID; in applyCursiveAdjustments()
DMarkArrays.h32 …le_int32 getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstanc…
DOpenTypeUtilities.h24 …static le_int32 getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, le_int32 re…
DPairPositioningSubtables.h54 const PairValueRecord *findPairValueRecord(TTGlyphID glyphID, const PairValueRecord *records,
DGlyphIterator.h57 void setCurrGlyphID(TTGlyphID glyphID);
DLEGlyphStorage.h356 void setGlyphID(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &success);
/external/skia/emoji/
DEmojiFont.cpp145 SkScalar EmojiFont::GetAdvanceWidth(uint16_t glyphID, const SkPaint& paint) { in GetAdvanceWidth() argument
146 if (glyphID < kGlyphBase) { in GetAdvanceWidth()
148 glyphID); in GetAdvanceWidth()
152 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase); in GetAdvanceWidth()
166 void EmojiFont::Draw(SkCanvas* canvas, uint16_t glyphID, in Draw() argument
168 if (glyphID < kGlyphBase) { in Draw()
169 SkDebugf("-------- bad glyph passed to EmojiFont::Draw %d\n", glyphID); in Draw()
172 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase); in Draw()
/external/skia/src/core/
DSkScalerContext.cpp174 unsigned glyphID = glyph.getGlyphID(); in getGlyphContext() local
178 if (glyphID < count) { in getGlyphContext()
181 glyphID -= count; in getGlyphContext()
197 unsigned glyphID; in charToGlyphID() local
199 glyphID = ctx->generateCharToGlyph(uni); in charToGlyphID()
200 if (glyphID) { in charToGlyphID()
209 glyphID += ctx->fBaseGlyphCount; in charToGlyphID()
211 if (glyphID > 0xFFFF) { in charToGlyphID()
212 glyphID = 0; in charToGlyphID()
214 return SkToU16(glyphID); in charToGlyphID()
DSkGlyphCache.cpp148 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance() argument
150 uint32_t id = SkGlyph::MakeID(glyphID); in getGlyphIDAdvance()
155 glyph = this->lookupMetrics(glyphID, kJustAdvance_MetricsType); in getGlyphIDAdvance()
208 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID) { in getGlyphIDMetrics() argument
210 uint32_t id = SkGlyph::MakeID(glyphID); in getGlyphIDMetrics()
216 glyph = this->lookupMetrics(glyphID, kFull_MetricsType); in getGlyphIDMetrics()
228 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID, in getGlyphIDMetrics() argument
231 uint32_t id = SkGlyph::MakeID(glyphID, x, y); in getGlyphIDMetrics()
DSkPaint.cpp408 unsigned glyphID = *ptr; in sk_getMetrics_glyph_next() local
411 return cache->getGlyphIDMetrics(glyphID); in sk_getMetrics_glyph_next()
421 unsigned glyphID = *ptr; in sk_getMetrics_glyph_prev() local
423 return cache->getGlyphIDMetrics(glyphID); in sk_getMetrics_glyph_prev()
466 unsigned glyphID = *ptr; in sk_getAdvance_glyph_next() local
469 return cache->getGlyphIDAdvance(glyphID); in sk_getAdvance_glyph_next()
479 unsigned glyphID = *ptr; in sk_getAdvance_glyph_prev() local
481 return cache->getGlyphIDAdvance(glyphID); in sk_getAdvance_glyph_prev()
562 unsigned glyphID = *ptr; in sk_getMetrics_glyph_00() local
565 return cache->getGlyphIDMetrics(glyphID); in sk_getMetrics_glyph_00()
[all …]
/external/webkit/WebCore/platform/graphics/mac/
DGlyphPageTreeNodeMac.cpp76 Glyph glyph = glyphRecord->glyphID; in fill()

12