Home
last modified time | relevance | path

Searched refs:getGlyphID (Results 1 – 25 of 44) sorted by relevance

12

/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DClassTable.java32 public int getGlyphID() in getGlyphID() method in ClassTable.ClassEntry
178 int startID = classTable[startIndex].getGlyphID(); in writeClassTable()
185 if (classTable[endIndex].getGlyphID() != nextID || in writeClassTable()
234 writer.writeData(classTable[i].getGlyphID()); in writeLookupSubtable()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotTables.py484 glyphID = font.getGlyphID(glyph)
537 startID = font.getGlyphID(start, requireReal=True)
542 endID = font.getGlyphID(end, requireReal=True) + 1
561 getGlyphID = font.getGlyphID
564 glyphIDs = [getGlyphID(glyphName) for glyphName in glyphs ]
702 inputGIDS = [ font.getGlyphID(name) for name in input ]
722 getGlyphID = font.getGlyphID
723 gidItems = [(getGlyphID(a), getGlyphID(b)) for a,b in items]
792 cov.glyphs = sorted(list(mapping.keys()), key=font.getGlyphID)
862 startID = font.getGlyphID(start, requireReal=True)
[all …]
DC_O_L_R_.py60 gid = ttFont.getGlyphID(glyphName)
71 layerMap.append(struct.pack(">HH", ttFont.getGlyphID(layer.name), layer.colorID))
86 gid = ttFont.getGlyphID(glyphName)
D_k_e_r_n.py180 getGlyphID = ttFont.getGlyphID
182 (getGlyphID(left), getGlyphID(right), value)
DsbixGlyph.py76 self.gid = struct.pack(">H", ttFont.getGlyphID(self.glyphName))
114 …self.imageData = struct.pack(">H", ttFont.getGlyphID(safeEval("'''" + attrs["glyphname"] + "'''")))
DE_B_L_C_.py180 glyphIds = list(map(ttFont.getGlyphID, indexSubTable.names))
368 glyphIds = map(ttFont.getGlyphID, self.names)
456 glyphIds = list(map(ttFont.getGlyphID, self.names))
538 glyphIds = list(map(ttFont.getGlyphID, self.names))
581 glyphIds = list(map(ttFont.getGlyphID, self.names))
613 glyphIds = list(map(ttFont.getGlyphID, self.names))
D_c_m_a_p.py266 getGlyphID = ttFont.getGlyphID
267 valueList = [getGlyphID(cmap[i]) if i in cmap else 0 for i in range(256)]
461 gid = ttFont.getGlyphID(name)
769 gid = ttFont.getGlyphID(name)
884 ttFont.getGlyphID(cmap[code]) if code in cmap else 0
975 gid = ttFont.getGlyphID(name)
1245 gid = ttFont.getGlyphID(gname)
DL_T_S_H_.py35 yPels[ttFont.getGlyphID(name)] = self.yPels[name]
DS__i_l_f.py454 u, ttFont.getGlyphID(p))
613 gs = [ttFont.getGlyphID(x) for x in l]
617 gs = [(ttFont.getGlyphID(x[0]), x[1]) for x in l.items()]
749 gidcolmap = dict([(ttFont.getGlyphID(x[0]), x[1]) for x in self.colMap.items()])
785 key=lambda x:ttFont.getGlyphID(x[0]))])
DV_O_R_G_.py72 gid = ttFont.getGlyphID(glyphName)
/external/fonttools/Lib/fontTools/misc/
DtestTools.py61 def getGlyphID(self, name): member in FakeFont
140 def getGlyphID(self, glyph, requireReal=None): member in MockFont
/external/skqp/src/ports/
DSkScalerContext_win_dw.cpp388 uint16_t glyphId = glyph->getGlyphID(); in generateAdvance()
444 UINT16 glyphId = glyph->getGlyphID(); in getBoundingBox()
535 HRBM(fontFace4->GetGlyphImageFormats(glyph.getGlyphID(), 0, UINT32_MAX, &f), in isPngGlyph()
544 UINT16 glyphId = glyph.getGlyphID(); in getColorGlyphRun()
639 HRVM(fontFace4->GetGlyphImageData(glyph->getGlyphID(), in generatePngMetrics()
917 UINT16 index = glyph.getGlyphID(); in drawDWMask()
1059 HRVM(fontFace4->GetGlyphImageData(glyph.getGlyphID(), in generatePngGlyphImage()
DSkFontHost_FreeType.cpp1055 error = FT_Get_Advance( fFace, glyph->getGlyphID(), in generateAdvance()
1160 err = FT_Load_Glyph( fFace, glyph->getGlyphID(), in generateMetrics()
1166 emboldenIfNeeded(fFace, fFace->glyph, glyph->getGlyphID()); in generateMetrics()
1177 while (FT_Get_Color_Glyph_Layer(fFace, glyph->getGlyphID(), in generateMetrics()
1297 …SkDEBUGF("Metrics(glyph:%d flags:0x%x) w:%d\n", glyph->getGlyphID(), fLoadGlyphFlags, glyph->fWidt… in generateMetrics()
1313 FT_Error err = FT_Load_Glyph(fFace, glyph.getGlyphID(), fLoadGlyphFlags); in generateImage()
1317 glyph.getGlyphID(), glyph.fWidth, glyph.fHeight, glyph.rowBytes(), in generateImage()
1323 emboldenIfNeeded(fFace, fFace->glyph, glyph.getGlyphID()); in generateImage()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp388 uint16_t glyphId = glyph->getGlyphID(); in generateAdvance()
444 UINT16 glyphId = glyph->getGlyphID(); in getBoundingBox()
535 HRBM(fontFace4->GetGlyphImageFormats(glyph.getGlyphID(), 0, UINT32_MAX, &f), in isPngGlyph()
544 UINT16 glyphId = glyph.getGlyphID(); in getColorGlyphRun()
639 HRVM(fontFace4->GetGlyphImageData(glyph->getGlyphID(), in generatePngMetrics()
919 UINT16 index = glyph.getGlyphID(); in drawDWMask()
1061 HRVM(fontFace4->GetGlyphImageData(glyph.getGlyphID(), in generatePngGlyphImage()
DSkFontHost_FreeType.cpp1055 error = FT_Get_Advance( fFace, glyph->getGlyphID(), in generateAdvance()
1160 err = FT_Load_Glyph( fFace, glyph->getGlyphID(), in generateMetrics()
1166 emboldenIfNeeded(fFace, fFace->glyph, glyph->getGlyphID()); in generateMetrics()
1177 while (FT_Get_Color_Glyph_Layer(fFace, glyph->getGlyphID(), in generateMetrics()
1297 …SkDEBUGF("Metrics(glyph:%d flags:0x%x) w:%d\n", glyph->getGlyphID(), fLoadGlyphFlags, glyph->fWidt… in generateMetrics()
1313 FT_Error err = FT_Load_Glyph(fFace, glyph.getGlyphID(), fLoadGlyphFlags); in generateImage()
1317 glyph.getGlyphID(), glyph.fWidth, glyph.fHeight, glyph.rowBytes(), in generateImage()
1323 emboldenIfNeeded(fFace, fFace->glyph, glyph.getGlyphID()); in generateImage()
/external/skqp/tools/fonts/
DSkRandomScalerContext.cpp67 switch (glyph->getGlyphID() % 4) { in generateMetrics()
76 if (fFakeIt || (glyph->getGlyphID() % 4) != 2) { in generateMetrics()
DSkTestTypeface.cpp104 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance()
/external/skia/tools/fonts/
DSkRandomScalerContext.cpp67 switch (glyph->getGlyphID() % 4) { in generateMetrics()
76 if (fFakeIt || (glyph->getGlyphID() % 4) != 2) { in generateMetrics()
DSkTestTypeface.cpp104 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance()
/external/skqp/src/core/
DSkTypeface_remote.cpp57 fCache->getCachedGlyphAnySubPix(glyph->getGlyphID(), glyph->getPackedID())) { in generateMetrics()
DSkGlyph.h146 SkGlyphID getGlyphID() const { return fID.code(); } in getGlyphID() function
DSkGlyphRunPainter.cpp393 [glyphID](const SkGlyph* g) { return g->getGlyphID() == glyphID; })) { in drawGlyphRunAsBMPWithPathFallback()
1030 glyphCacheState->addGlyph(glyph.getGlyphID(), asPath); in processGlyphRunForPaths()
1083 sdfCache->addGlyph(glyph.getGlyphID(), asPath); in maybeProcessGlyphRunForDFT()
1088 sdfCache->addGlyph(glyph.getGlyphID(), asPath); in maybeProcessGlyphRunForDFT()
/external/skia/src/core/
DSkTypeface_remote.cpp57 fCache->getCachedGlyphAnySubPix(glyph->getGlyphID(), glyph->getPackedID())) { in generateMetrics()
DSkGlyph.h137 SkGlyphID getGlyphID() const { return fID.code(); } in getGlyphID() function
/external/fonttools/Lib/fontTools/ttLib/
DttFont.py565 def getGlyphID(self, glyphName, requireReal=False): member in TTFont
573 return self.getGlyphID(glyphName)
605 return self.getGlyphID(glyphName)

12