Searched refs:glyphID (Results 1 - 25 of 43) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
H A DT_S_I__0.py8 def fixlongs(glyphID, textLength, textOffset):
9 return int(glyphID), int(textLength), textOffset
21 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size]))
22 indices.append((glyphID, textLength, textOffset))
H A 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])
[all...]
H A 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]]
H A DotTables.py37 # manual implementation to get rid of glyphID dependencies
74 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) fo
[all...]
H A DT_S_I__1.py15 glyphID, textLength, textOffset = indextable.indices[i]
24 self.glyphPrograms[ttFont.getGlyphName(glyphID)] = text
H A DM_E_T_A_.py25 glyphID: H
189 self.glyphID = -1
197 writer.simpletag("glyphID", value=self.glyphID)
229 return "GlyphRecord[ glyphID: " + str(self.glyphID) + ", nMetaEntry: " + str(self.nMetaEntry) + ", offset: " + str(self.offset) + " ]"
H A D_c_m_a_p.py311 # that maps the entire range of glyphID values to glyphIndex 0, e.g notdef:
333 # add it to the glyphID to get the final glyphIndex
458 assert (subHeader.entryCount == len(subHeader.glyphIndexArray)), "Error - subhead entry count does not match len of glyphID subrange."
568 glyphID = cmap[code]
570 if glyphID - 1 == lastID:
580 lastID = glyphID
684 glyphID = glyphIndexArray[index] + delta
686 glyphID = 0 # missing glyph
687 gids.append(glyphID & 0xFFFF)
735 cmap = {} # code:glyphID mappin
[all...]
H A D_g_l_y_f.py139 def getGlyphName(self, glyphID):
140 return self.glyphOrder[glyphID]
685 flags, glyphID = struct.unpack(">HH", data[i:i+4])
688 components.append(glyfTable.getGlyphName(int(glyphID)))
810 flags, glyphID = struct.unpack(">HH", data[:4])
812 glyphID = int(glyphID)
813 self.glyphName = glyfTable.getGlyphName(int(glyphID))
895 glyphID = glyfTable.getGlyphID(self.glyphName)
896 return struct.pack(">HH", flags, glyphID)
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DT_S_I__0.py8 def fixlongs(glyphID, textLength, textOffset):
9 return int(glyphID), int(textLength), textOffset
21 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size]))
22 indices.append((glyphID, textLength, textOffset))
H A 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])
[all...]
H A 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]]
H A DotTables.py37 # manual implementation to get rid of glyphID dependencies
74 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) fo
[all...]
H A DT_S_I__1.py15 glyphID, textLength, textOffset = indextable.indices[i]
24 self.glyphPrograms[ttFont.getGlyphName(glyphID)] = text
H A DM_E_T_A_.py25 glyphID: H
189 self.glyphID = -1
197 writer.simpletag("glyphID", value=self.glyphID)
229 return "GlyphRecord[ glyphID: " + str(self.glyphID) + ", nMetaEntry: " + str(self.nMetaEntry) + ", offset: " + str(self.offset) + " ]"
H A D_c_m_a_p.py311 # that maps the entire range of glyphID values to glyphIndex 0, e.g notdef:
333 # add it to the glyphID to get the final glyphIndex
458 assert (subHeader.entryCount == len(subHeader.glyphIndexArray)), "Error - subhead entry count does not match len of glyphID subrange."
568 glyphID = cmap[code]
570 if glyphID - 1 == lastID:
580 lastID = glyphID
684 glyphID = glyphIndexArray[index] + delta
686 glyphID = 0 # missing glyph
687 gids.append(glyphID & 0xFFFF)
735 cmap = {} # code:glyphID mappin
[all...]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DClassTable.java23 private int glyphID; field in class:ClassTable.ClassEntry
26 public ClassEntry(int glyphID, int classID) argument
28 this.glyphID = glyphID;
34 return glyphID;
44 return this.glyphID - that.glyphID;
68 public static int search(ClassEntry[] table, int glyphID) argument
76 if (table[extra].glyphID <= glyphID) {
149 getGlyphClassID(int glyphID) argument
[all...]
/external/skia/src/gpu/
H A DGrGlyph.h63 uint16_t glyphID() const { return UnpackID(fPackedID); } function in struct:GrGlyph
72 static inline PackedID Pack(uint16_t glyphID, SkFixed x, SkFixed y, MaskStyle ms) { argument
76 return (dfFlag << 20) | (x << 18) | (y << 16) | glyphID;
H A DGrPathRendering.cpp60 void generatePath(int glyphID, SkPath* out) override {
61 fScalerContext->getPath(glyphID, out);
/external/fonttools/Lib/fontTools/ttLib/
H A D__init__.py459 # - make up glyph names based on glyphID
476 # Make up glyph names based on glyphID, which will be used by the
538 def getGlyphName(self, glyphID, requireReal=False):
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]
[all...]
/external/fonttools/Tools/fontTools/ttLib/
H A D__init__.py459 # - make up glyph names based on glyphID
476 # Make up glyph names based on glyphID, which will be used by the
538 def getGlyphName(self, glyphID, requireReal=False):
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]
[all...]
/external/skia/src/pdf/
H A DSkPDFFont.h78 /** Get the font resource for the passed typeface and glyphID. The
84 * @param glyphID Specify which section of a large font is of interest.
88 SkGlyphID glyphID);
/external/skia/gm/
H A Dpoly2poly.cpp222 uint16_t glyphID = 3; // X local
223 canvas->drawText((void*) &glyphID, sizeof(glyphID), x, y, *paint);
/external/skia/src/core/
H A DSkScalerContext.h232 may be chained (under the hood), the glyphID that is returned may in
240 /** Map the glyphID to its glyph index, and then to its char code. Unmapped
243 SkUnichar glyphIDToChar(uint16_t glyphID) { argument
244 return (glyphID < getGlyphCount()) ? generateGlyphToChar(glyphID) : 0;
H A DSkGlyphCache.cpp84 SkGlyphID glyphID = fScalerContext->charToGlyphID(charCode); local
85 rec->fPackedGlyphID = SkPackedGlyphID(glyphID);
86 return glyphID;
90 SkUnichar SkGlyphCache::glyphToUnichar(SkGlyphID glyphID) { argument
91 return fScalerContext->glyphIDToChar(glyphID);
109 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { argument
111 SkPackedGlyphID packedGlyphID(glyphID);
127 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID) { argument
129 SkPackedGlyphID packedGlyphID(glyphID);
133 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID, SkFixe argument
[all...]
/external/harfbuzz_ng/src/
H A Dhb-ot-cmap-table.hh213 ULONG glyphID; /* Glyph index; interpretation depends on member in struct:OT::CmapSubtableLongGroup
286 { return group.glyphID + (u - group.startCharCode); }
293 { return group.glyphID; }
341 GlyphID glyphID; /* Glyph ID of the UVS */ member in struct:OT::UVSMapping
363 *glyph = nonDefaults[i].glyphID;

Completed in 3117 milliseconds

12