Home
last modified time | relevance | path

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

12

/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()
DClassDefinitionTables.h24 le_int32 getGlyphClass(LEGlyphID glyphID) const;
34 le_int32 getGlyphClass(LEGlyphID glyphID) const;
50 le_int32 getGlyphClass(LEGlyphID glyphID) const;
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()
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()
DLookups.cpp37 le_int32 LookupSubtable::getGlyphCoverage(Offset tableOffset, LEGlyphID glyphID) const in getGlyphCoverage()
41 return coverageTable->getGlyphCoverage(glyphID); in getGlyphCoverage()
DAnchorTables.h27 void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance,
40 void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const;
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()
DGlyphPositionAdjustments.cpp107 LEGlyphID glyphID = glyphStorage[i]; in applyCursiveAdjustments() local
120 fontInstance->getGlyphAdvance(glyphID, pixels); in applyCursiveAdjustments()
141 lastExitGlyphID = glyphID; in applyCursiveAdjustments()
/external/skia/emoji/
DEmojiFont.cpp162 SkScalar EmojiFont::GetAdvanceWidth(uint16_t glyphID, const SkPaint& paint) { in GetAdvanceWidth() argument
163 if (glyphID < kGlyphBase) { in GetAdvanceWidth()
165 glyphID); in GetAdvanceWidth()
169 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase); in GetAdvanceWidth()
183 void EmojiFont::Draw(SkCanvas* canvas, uint16_t glyphID, in Draw() argument
185 if (glyphID < kGlyphBase) { in Draw()
186 SkDebugf("-------- bad glyph passed to EmojiFont::Draw %d\n", glyphID); in Draw()
189 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase); in Draw()
/external/skia/include/pdf/
DSkPDFFont.h29 bool has(uint16_t glyphID) const;
102 SK_API bool hasGlyph(uint16_t glyphID);
123 uint16_t glyphID);
136 uint16_t glyphID, bool descendantFont);
143 void setLastGlyphID(uint16_t glyphID);
158 void adjustGlyphRangeForSingleByteEncoding(int16_t glyphID);
166 SkTypeface* typeface, uint16_t glyphID,
169 static bool Find(uint32_t fontID, uint16_t glyphID, int* index);
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DGlyphMapAndroid.cpp150 uint16_t glyphID = glyphs[i]; in fill() local
152 if (!glyphID) in fill()
153 glyphID = EmojiFont::UnicharToGlyph(uni); in fill()
154 setGlyphDataForIndex(offset + i, glyphID, fontData); in fill()
155 allGlyphs |= glyphID; in fill()
159 uint16_t glyphID = glyphs[i]; in fill() local
160 setGlyphDataForIndex(offset + i, glyphID, fontData); in fill()
161 allGlyphs |= glyphID; in fill()
/external/skia/src/core/
DSkScalerContext.cpp165 SkScalerContext* SkScalerContext::getContextFromChar(SkUnichar uni, unsigned& glyphID) { in getContextFromChar() argument
168 glyphID = ctx->generateCharToGlyph(uni); in getContextFromChar()
169 if (glyphID) { in getContextFromChar()
181 unsigned glyphID = glyph.getGlyphID(); in getGlyphContext() local
185 if (glyphID < count) { in getGlyphContext()
188 glyphID -= count; in getGlyphContext()
201 unsigned glyphID; in findTypefaceIdForChar() local
202 SkScalerContext* ctx = getContextFromChar(uni, glyphID); in findTypefaceIdForChar()
217 unsigned glyphID; in getBaseGlyphCount() local
218 SkScalerContext* ctx = getContextFromChar(uni, glyphID); in getBaseGlyphCount()
[all …]
DSkGlyphCache.cpp110 SkUnichar SkGlyphCache::glyphToUnichar(uint16_t glyphID) { in glyphToUnichar() argument
111 return fScalerContext->glyphIDToChar(glyphID); in glyphToUnichar()
135 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance() argument
137 uint32_t id = SkGlyph::MakeID(glyphID); in getGlyphIDAdvance()
142 glyph = this->lookupMetrics(glyphID, kJustAdvance_MetricsType); in getGlyphIDAdvance()
195 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID) { in getGlyphIDMetrics() argument
197 uint32_t id = SkGlyph::MakeID(glyphID); in getGlyphIDMetrics()
203 glyph = this->lookupMetrics(glyphID, kFull_MetricsType); in getGlyphIDMetrics()
215 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID, in getGlyphIDMetrics() argument
218 uint32_t id = SkGlyph::MakeID(glyphID, x, y); in getGlyphIDMetrics()
/external/skia/src/pdf/
DSkPDFFontImpl.h62 uint16_t glyphID, SkPDFDict* relatedFontDescriptor);
64 bool populate(int16_t glyphID);
79 uint16_t glyphID, SkPDFDict* relatedFontDescriptor);
81 bool populate(int16_t glyphID);
DSkPDFFont.cpp597 bool SkPDFGlyphSet::has(uint16_t glyphID) const { in has()
598 return fBitSet.isBitSet(glyphID); in has()
740 SkPDFFont* SkPDFFont::GetFontResource(SkTypeface* typeface, uint16_t glyphID) { in GetFontResource() argument
744 if (Find(fontID, glyphID, &relatedFontIndex)) { in GetFontResource()
781 SkPDFFont* font = Create(fontMetrics.get(), typeface, glyphID, in GetFontResource()
808 bool SkPDFFont::Find(uint32_t fontID, uint16_t glyphID, int* index) { in Find() argument
810 FontRec search(NULL, fontID, glyphID); in Find()
821 uint16_t glyphID, bool descendantFont) in SkPDFFont() argument
838 SkTypeface* typeface, uint16_t glyphID, in Create() argument
847 glyphID, in Create()
[all …]
/external/harfbuzz/src/
Dharfbuzz-open.c813 HB_UShort glyphID, in Coverage_Index1() argument
839 if ( glyphID == array[middle] ) in Coverage_Index1()
844 else if ( glyphID < array[middle] ) in Coverage_Index1()
863 HB_UShort glyphID, in Coverage_Index2() argument
889 if ( glyphID >= rr[middle].Start && glyphID <= rr[middle].End ) in Coverage_Index2()
891 *index = rr[middle].StartCoverageIndex + glyphID - rr[middle].Start; in Coverage_Index2()
894 else if ( glyphID < rr[middle].Start ) in Coverage_Index2()
914 HB_UShort glyphID, in _HB_OPEN_Coverage_Index() argument
919 case 1: return Coverage_Index1( &c->cf.cf1, glyphID, index ); in _HB_OPEN_Coverage_Index()
920 case 2: return Coverage_Index2( &c->cf.cf2, glyphID, index ); in _HB_OPEN_Coverage_Index()
[all …]
Dharfbuzz-gdef.c651 HB_UShort glyphID, in Get_New_Class() argument
661 if ( glyphID >= gdef->LastGlyph ) in Get_New_Class()
668 if ( index < count && glyphID < gcrr[index].Start ) in Get_New_Class()
672 glyph_index = glyphID; in Get_New_Class()
674 glyph_index = glyphID - gcrr[index - 1].End - 1; in Get_New_Class()
679 glyph_index = glyphID - gcrr[index].End - 1; in Get_New_Class()
691 HB_UShort glyphID, in HB_GDEF_Get_Glyph_Property() argument
706 error = _HB_OPEN_Get_Class( &gdef->MarkAttachClassDef, glyphID, &class, &index ); in HB_GDEF_Get_Glyph_Property()
716 error = _HB_OPEN_Get_Class( &gdef->GlyphClassDef, glyphID, &class, &index ); in HB_GDEF_Get_Glyph_Property()
724 class = Get_New_Class( gdef, glyphID, index ); in HB_GDEF_Get_Glyph_Property()
[all …]
Dharfbuzz-open-private.h88 HB_UShort glyphID,
92 HB_UShort glyphID,
/external/skia/include/gpu/
DGrGlyph.h52 uint16_t glyphID() const { return UnpackID(fPackedID); } in glyphID() function
61 static inline PackedID Pack(uint16_t glyphID, GrFixed x, GrFixed y) { in Pack()
64 return (x << 18) | (y << 16) | glyphID; in Pack()

12