/external/skqp/tools/fonts/ |
D | SkTestSVGTypeface.cpp | 202 SkTestSVGTypeface::Glyph& glyphData = this->geTestSVGTypeface()->fGlyphs[glyphID]; in generateMetrics() local 203 if (!glyphData.fSvg) { in generateMetrics() 207 SkSize containerSize = glyphData.fSvg->containerSize(); in generateMetrics() 208 SkRect newBounds = SkRect::MakeXYWH(glyphData.fOrigin.fX, -glyphData.fOrigin.fY, in generateMetrics() 233 SkTestSVGTypeface::Glyph& glyphData = this->geTestSVGTypeface()->fGlyphs[glyphID]; in generateImage() local 242 canvas.translate(glyphData.fOrigin.fX, -glyphData.fOrigin.fY); in generateImage() 244 if (glyphData.fSvg) { in generateImage() 245 SkAutoExclusive lock(glyphData.fSvgMutex); in generateImage() 246 glyphData.fSvg->render(&canvas); in generateImage() 806 const SkTestSVGTypeface::Glyph& glyphData = this->fGlyphs[i]; in exportTtxSbix() local [all …]
|
/external/skqp/src/ports/ |
D | SkScalerContext_win_dw.cpp | 637 DWRITE_GLYPH_IMAGE_DATA glyphData; in generatePngMetrics() local 642 &glyphData, in generatePngMetrics() 647 sk_sp<SkData> data = SkData::MakeWithProc(glyphData.imageData, in generatePngMetrics() 648 glyphData.imageDataSize, in generatePngMetrics() 664 SkScalar scale = fTextSizeRender / glyphData.pixelsPerEm; in generatePngMetrics() 666 matrix.preTranslate(-glyphData.horizontalLeftOrigin.x, -glyphData.horizontalLeftOrigin.y); in generatePngMetrics() 1057 DWRITE_GLYPH_IMAGE_DATA glyphData; in generatePngGlyphImage() local 1062 &glyphData, in generatePngGlyphImage() 1066 sk_sp<SkData> data = SkData::MakeWithProc(glyphData.imageData, in generatePngGlyphImage() 1067 glyphData.imageDataSize, in generatePngGlyphImage() [all …]
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 622 DWRITE_GLYPH_IMAGE_DATA glyphData; in generatePngMetrics() local 627 &glyphData, in generatePngMetrics() 632 sk_sp<SkData> data = SkData::MakeWithProc(glyphData.imageData, in generatePngMetrics() 633 glyphData.imageDataSize, in generatePngMetrics() 649 SkScalar scale = fTextSizeRender / glyphData.pixelsPerEm; in generatePngMetrics() 651 matrix.preTranslate(-glyphData.horizontalLeftOrigin.x, -glyphData.horizontalLeftOrigin.y); in generatePngMetrics() 1083 DWRITE_GLYPH_IMAGE_DATA glyphData; in generatePngGlyphImage() local 1088 &glyphData, in generatePngGlyphImage() 1092 sk_sp<SkData> data = SkData::MakeWithProc(glyphData.imageData, in generatePngGlyphImage() 1093 glyphData.imageDataSize, in generatePngGlyphImage() [all …]
|
/external/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 204 TestSVGTypeface::Glyph& glyphData = this->getTestSVGTypeface()->fGlyphs[glyphID]; in generateMetrics() local 206 SkSize containerSize = glyphData.size(); in generateMetrics() 207 SkRect newBounds = SkRect::MakeXYWH(glyphData.fOrigin.fX, in generateMetrics() 208 -glyphData.fOrigin.fY, in generateMetrics() 235 TestSVGTypeface::Glyph& glyphData = this->getTestSVGTypeface()->fGlyphs[glyphID]; in generateImage() local 244 canvas.translate(glyphData.fOrigin.fX, -glyphData.fOrigin.fY); in generateImage() 246 glyphData.render(&canvas); in generateImage() 925 const TestSVGTypeface::Glyph& glyphData = this->fGlyphs[i]; in exportTtxSbix() local 927 SkSize containerSize = glyphData.size(); in exportTtxSbix() 928 SkRect bounds = SkRect::MakeXYWH(glyphData.fOrigin.fX, in exportTtxSbix() [all …]
|
/external/fonttools/Tests/designspaceLib/ |
D | designspace_test.py | 124 glyphData = dict(name="arrow", mute=True, unicodes=[0x123, 0x124, 0x125]) 125 i1.glyphs['arrow'] = glyphData 141 glyphData = dict(name="arrow", unicodes=[101, 201, 301]) 142 glyphData['masters'] = glyphMasters 143 glyphData['note'] = "A note about this glyph" 144 glyphData['instanceLocation'] = dict(width=100, weight=120) 145 i2.glyphs['arrow'] = glyphData 218 glyphData = dict(name="arrow", mute=True, unicodes=[100, 200, 300]) 219 i1.glyphs['arrow'] = glyphData 287 glyphData = dict(name="arrow", mute=True, unicodes=[0x123]) [all …]
|
/external/fonttools/Lib/fontTools/designspaceLib/ |
D | __init__.py | 1007 glyphData = {} 1013 glyphData['mute'] = True 1019 glyphData['unicodes'] = unicodes 1024 glyphData['note'] = noteElement.text 1028 glyphData['instanceLocation'] = instanceLocation 1044 glyphData['masters'] = glyphSources 1045 instanceObject.glyphs[glyphName] = glyphData 1319 for _, glyphData in item.glyphs.items(): 1320 … glyphData['instanceLocation'] = self.normalizeLocation(glyphData['instanceLocation']) 1321 for glyphMaster in glyphData['masters']:
|
/external/fonttools/Doc/source/designspaceLib/ |
D | scripting.rst | 192 glyphData = dict(name="dollar", unicodeValue=0x24) 195 glyphData['instanceLocation'] = dict(weight=500) 202 glyphData['masters'] = [ 212 i4.glyphs['dollar'] = glyphData
|
D | readme.rst | 242 glyphData = dict(name="arrow", unicodeValue=1234) 243 glyphData['masters'] = glyphMasters 244 glyphData['note'] = "A note about this glyph" 245 glyphData['instanceLocation'] = dict(width=100, weight=120) 246 i2.glyphs['arrow'] = glyphData
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _g_l_y_f.py | 98 glyphData = glyph.compile(self, recalcBBoxes) 100 glyphData = pad(glyphData, size=padding) 102 currentLocation = currentLocation + len(glyphData) 103 dataList.append(glyphData) 109 indices = [i for i,glyphData in enumerate(dataList) if len(glyphData) % 2 == 1] 115 for i,glyphData in enumerate(dataList): 117 currentLocation += len(glyphData)
|