Home
last modified time | relevance | path

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

123

/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DClassTable.java21 private int glyphID; field in ClassTable.ClassEntry
24 public ClassEntry(int glyphID, int classID) in ClassEntry() argument
26 this.glyphID = glyphID; in ClassEntry()
32 return glyphID; in getGlyphID()
42 return this.glyphID - that.glyphID; in compareTo()
66 public static int search(ClassEntry[] table, int glyphID) in search() argument
74 if (table[extra].glyphID <= glyphID) { in search()
81 if (table[index + probe].glyphID <= glyphID) { in search()
86 if (table[index].glyphID == glyphID) { in search()
147 public int getGlyphClassID(int glyphID) in getGlyphClassID() argument
[all …]
/external/icu/icu4c/source/layout/
DLookups.h36 …inline le_int32 getGlyphCoverage(const LEReferenceTo<LookupSubtable> &base, LEGlyphID glyphID, LE…
38 …const LEReferenceTo<LookupSubtable> &base, Offset tableOffset, LEGlyphID glyphID, LEErrorCode &suc…
41 …inline le_int32 getGlyphCoverage(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &su…
43 …lyphCoverage(const LETableReference &base, Offset tableOffset, LEGlyphID glyphID, LEErrorCode &suc…
66 …e::getGlyphCoverage(const LEReferenceTo<LookupSubtable> &base, LEGlyphID glyphID, LEErrorCode &suc… in LE_VAR_ARRAY()
68 return getGlyphCoverage(base, coverageTableOffset, glyphID, success); in LE_VAR_ARRAY()
71 inline le_int32 LookupSubtable::getGlyphCoverage(const LETableReference &base, LEGlyphID glyphID, … in getGlyphCoverage() argument
73 return getGlyphCoverage(thisRef, glyphID, success); in getGlyphCoverage()
76 …lyphCoverage(const LETableReference &base, Offset tableOffset, LEGlyphID glyphID, LEErrorCode &suc… in getGlyphCoverage() argument
78 return getGlyphCoverage(thisRef, tableOffset, glyphID, success); in getGlyphCoverage()
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(const LETableReference& base, LEGlyphID glyphID, LEErr… in getGlyphClass() argument
27 return f1Table->getGlyphClass(f1Table, glyphID, success); in getGlyphClass()
33 return f2Table->getGlyphClass(f2Table, glyphID, success); in getGlyphClass()
67 le_int32 ClassDefFormat1Table::getGlyphClass(const LETableReference& base, LEGlyphID glyphID, LEErr… in getGlyphClass() argument
73 TTGlyphID ttGlyphID = (TTGlyphID) LE_GET_GLYPH(glyphID); in getGlyphClass()
100 le_int32 ClassDefFormat2Table::getGlyphClass(const LETableReference& base, LEGlyphID glyphID, LEErr… in getGlyphClass() argument
103 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyphID); in getGlyphClass()
DClassDefinitionTables.h24 …le_int32 getGlyphClass(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &success) con…
27 le_int32 getGlyphClass(LEGlyphID glyphID) const { in getGlyphClass()
30 return getGlyphClass(base,glyphID,ignored); in getGlyphClass()
46 …le_int32 getGlyphClass(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &success) cons…
64 …le_int32 getGlyphClass(const LETableReference &base, LEGlyphID glyphID, LEErrorCode &success) cons…
DCursiveAttachmentSubtables.cpp19 LEGlyphID glyphID = glyphIterator->getCurrGlyphID(); in process() local
20 le_int32 coverageIndex = getGlyphCoverage(base, glyphID, success); in process()
38 entryAnchorTable->getAnchor(glyphID, fontInstance, entryAnchor); in process()
47 exitAnchorTable->getAnchor(glyphID, fontInstance, exitAnchor); in process()
DCoverageTables.h24 le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
32 le_int32 getGlyphCoverage(LEGlyphID glyphID) const;
42 le_int32 getGlyphCoverage(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()
DOpenTypeUtilities.h24 …static le_int32 getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, le_int32 re… in getGlyphRangeIndex() argument
28 return getGlyphRangeIndex(glyphID, recordRef, success); in getGlyphRangeIndex()
30 …static le_int32 getGlyphRangeIndex(TTGlyphID glyphID, const LEReferenceToArrayOf<GlyphRangeRecord>…
DPairPositioningSubtables.cpp132 const PairValueRecord *PairPositioningFormat1Subtable::findPairValueRecord(TTGlyphID glyphID, const… in findPairValueRecord() argument
141 if (SWAPW(record->secondGlyph) == glyphID) { in findPairValueRecord()
155 if (SWAPW(trial->secondGlyph) <= glyphID) { in findPairValueRecord()
163 if (SWAPW(trial->secondGlyph) <= glyphID) { in findPairValueRecord()
168 if (SWAPW(record->secondGlyph) == glyphID) { in findPairValueRecord()
DOpenTypeUtilities.cpp95 le_int32 OpenTypeUtilities::getGlyphRangeIndex(TTGlyphID glyphID, const LEReferenceToArrayOf<GlyphR… in getGlyphRangeIndex() argument
110 if (SWAPW(records(extra,success).firstGlyph) <= glyphID) { in getGlyphRangeIndex()
117 if (SWAPW(records(range + probe,success).firstGlyph) <= glyphID) { in getGlyphRangeIndex()
122 … (SWAPW(records(range,success).firstGlyph) <= glyphID && SWAPW(records(range,success).lastGlyph) >… in getGlyphRangeIndex()
DGlyphIterator.cpp201 void GlyphIterator::setCurrGlyphID(TTGlyphID glyphID) in setCurrGlyphID() argument
205 glyphStorage[position] = LE_SET_GLYPH(glyph, glyphID); in setCurrGlyphID()
370 LEGlyphID glyphID = glyphStorage[index]; in filterGlyph() local
372 if (!filterCacheValid || filterCache.id != glyphID) { in filterGlyph()
373 filterCache.id = glyphID; in filterGlyph()
377 if (LE_GET_GLYPH(glyphID) >= 0xFFFE) { in filterGlyph()
383 …glyphClass = glyphClassDefinitionTable->getGlyphClass(glyphClassDefinitionTable, glyphID, success); in filterGlyph()
406 … -> getGlyphClass(markAttachClassDefinitionTable, glyphID, success) != markAttachType); in filterGlyph()
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()
DAnchorTables.h27 void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance,
40 void getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const;
DLookups.cpp37 …const LEReferenceTo<LookupSubtable> &base, Offset tableOffset, LEGlyphID glyphID, LEErrorCode &suc… in getGlyphCoverage() argument
43 return coverageTable->getGlyphCoverage(glyphID); in getGlyphCoverage()
/external/skia/src/pdf/
DSkPDFFont.h29 bool has(uint16_t glyphID) const;
109 bool hasGlyph(uint16_t glyphID);
131 uint16_t glyphID);
169 void setLastGlyphID(uint16_t glyphID);
181 void adjustGlyphRangeForSingleByteEncoding(uint16_t glyphID);
191 uint16_t glyphID,
194 static bool Find(uint32_t fontID, uint16_t glyphID, int* index);
DSkPDFFontImpl.h66 uint16_t glyphID,
69 bool populate(int16_t glyphID);
85 uint16_t glyphID);
87 bool populate(uint16_t glyphID);
DSkPDFFont.cpp648 bool SkPDFGlyphSet::has(uint16_t glyphID) const { in has()
649 return fBitSet.isBitSet(glyphID); in has()
798 uint16_t glyphID) { in GetFontResource() argument
805 if (SkPDFFont* pdfFont = canon->findFont(fontID, glyphID, &relatedFont)) { in GetFontResource()
850 glyphID, relatedFontDescriptor); in GetFontResource()
880 uint16_t glyphID, in Create() argument
886 return new SkPDFType3Font(info, typeface, glyphID); in Create()
894 return new SkPDFType1Font(info, typeface, glyphID, relatedFontDescriptor); in Create()
900 return new SkPDFType3Font(info, typeface, glyphID); in Create()
923 void SkPDFFont::setLastGlyphID(uint16_t glyphID) { in setLastGlyphID() argument
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
D_p_o_s_t.py92 for glyphID in range(numGlyphs):
93 index = indices[glyphID]
99 glyphOrder[glyphID] = name
157 for glyphID in range(numGlyphs):
158 glyphName = glyphOrder[glyphID]
182 for glyphID in glyphOrder:
183 glyphID = glyphID.split('#')[0]
184 if glyphID in agl.AGL2UV:
185 indices.append(agl.AGL2UV[glyphID])
186 elif len(glyphID) == 7 and glyphID[:3] == 'uni':
[all …]
DT_S_I__0.py8 def fixlongs(glyphID, textLength, textOffset): argument
9 return int(glyphID), int(textLength), textOffset
21 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size]))
22 indices.append((glyphID, textLength, textOffset))
DotTables.py74 glyphs.extend(glyphOrder[glyphID] for glyphID in range(startID, endID))
93 for glyphID in glyphIDs[1:]:
94 if glyphID != last + 1:
96 ranges.append([glyphID])
97 last = glyphID
151 outGIDS = [ glyphID + delta for glyphID in inputGIDS ]
153 outNames = [ font.getGlyphName(glyphID) for glyphID in outGIDS ]
240 for glyphID, cls in zip(range(startID, endID), classList):
241 classDefs[glyphOrder[glyphID]] = cls
263 for glyphID in range(startID, endID):
[all …]
D_h_d_m_x.py24 for glyphID in range(numGlyphs):
25 widths[glyphOrder[glyphID]] = byteord(data[glyphID+2])
41 for glyphID in range(len(glyphOrder)):
42 width = widths[glyphOrder[glyphID]]
/external/fonttools/Lib/fontTools/ttLib/
D__init__.py538 def getGlyphName(self, glyphID, requireReal=False): argument
540 return self.getGlyphOrder()[glyphID]
545 return "glyph%.5d" % glyphID
549 glyphName = self.VIDDict[glyphID]
551 glyphName ="glyph%.5d" % glyphID
552 self.last_vid = min(glyphID, self.last_vid )
553 self.reverseVIDDict[glyphName] = glyphID
554 self.VIDDict[glyphID] = glyphName
579 glyphID = self.reverseVIDDict[glyphName]
584 glyphID = int(glyphName[5:])
[all …]
/external/skia/src/gpu/
DGrGlyph.h62 uint16_t glyphID() const { return UnpackID(fPackedID); } in glyphID() function
71 static inline PackedID Pack(uint16_t glyphID, SkFixed x, SkFixed y, MaskStyle ms) { in Pack()
75 return (dfFlag << 20) | (x << 18) | (y << 16) | glyphID; in Pack()
/external/skia/src/core/
DSkScalerContext.h218 SkUnichar glyphIDToChar(uint16_t glyphID) { in glyphIDToChar() argument
219 return (glyphID < getGlyphCount()) ? generateGlyphToChar(glyphID) : 0; in glyphIDToChar()
324 SkScalerContext* getContextFromChar(SkUnichar uni, uint16_t* glyphID);

123