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

123

/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
/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
/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/core/
H A DSkTypeface_remote.cpp30 void SkScalerContextProxy::generatePath(SkGlyphID glyphID, SkPath* path) { argument
31 fRemote->generatePath(*this->typefaceProxy(), this->getRec(), glyphID, path);
H A DSkScalerContext.h270 may be chained (under the hood), the glyphID that is returned may in
278 /** Map the glyphID to its glyph index, and then to its char code. Unmapped
281 SkUnichar glyphIDToChar(uint16_t glyphID) { argument
282 return (glyphID < getGlyphCount()) ? generateGlyphToChar(glyphID) : 0;
/external/skqp/src/core/
H A DSkTypeface_remote.cpp30 void SkScalerContextProxy::generatePath(SkGlyphID glyphID, SkPath* path) { argument
31 fRemote->generatePath(*this->typefaceProxy(), this->getRec(), glyphID, path);
/external/skia/src/gpu/
H A DGrGlyph.h61 uint16_t glyphID() const { return UnpackID(fPackedID); } function in struct:GrGlyph
71 static inline PackedID Pack(uint16_t glyphID, SkFixed x, SkFixed y, MaskStyle ms) { argument
75 return (dfFlag << 20) | (x << 18) | (y << 16) | glyphID;
H A DGrPathRendering.cpp62 void generatePath(int glyphID, SkPath* out) override {
63 fScalerContext->getPath(glyphID, out);
/external/skqp/src/gpu/
H A DGrGlyph.h61 uint16_t glyphID() const { return UnpackID(fPackedID); } function in struct:GrGlyph
71 static inline PackedID Pack(uint16_t glyphID, SkFixed x, SkFixed y, MaskStyle ms) { argument
75 return (dfFlag << 20) | (x << 18) | (y << 16) | glyphID;
H A DGrPathRendering.cpp62 void generatePath(int glyphID, SkPath* out) override {
63 fScalerContext->getPath(glyphID, out);
/external/skia/tools/fonts/
H A DSkTestScalerContext.cpp104 SkGlyphID glyphID = glyph->getGlyphID(); local
105 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0;
108 glyph->fAdvanceX = SkFixedToFloat(fTestFont->fWidths[glyphID]);
112 void SkTestTypeface::getPath(SkGlyphID glyphID, SkPath* path) { argument
113 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0;
114 *path = *fTestFont->fPaths[glyphID];
[all...]
/external/skqp/tools/
H A DSkTestScalerContext.cpp104 SkGlyphID glyphID = glyph->getGlyphID(); local
105 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0;
108 glyph->fAdvanceX = SkFixedToFloat(fTestFont->fWidths[glyphID]);
112 void SkTestTypeface::getPath(SkGlyphID glyphID, SkPath* path) { argument
113 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0;
114 *path = *fTestFont->fPaths[glyphID];
[all...]
/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/skqp/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.cpp221 uint16_t glyphID = 3; // X local
222 canvas->drawText((void*) &glyphID, sizeof(glyphID), x, y, *paint);

Completed in 441 milliseconds

123