/external/skia/modules/canvaskit/tests/ |
D | font.spec.js | 244 for (const fontType of inputs) { 246 expect(fontType.buffer).toBeTruthy(fontType.type + ' did not load'); 248 const typeface = fontMgr.MakeTypefaceFromData(fontType.buffer); 252 canvas.drawText(fontType.type + ' loaded', 5, fontType.y, fontPaint, font); 254 … canvas.drawText(fontType.type + ' *not* loaded', 5, fontType.y, fontPaint, defaultFont);
|
/external/skia/src/sfnt/ |
D | SkSFNTHeader.h | 21 SK_SFNT_ULONG fontType; member
|
/external/skqp/src/sfnt/ |
D | SkSFNTHeader.h | 21 SK_SFNT_ULONG fontType; member
|
/external/skia/src/ports/ |
D | SkTypeface_mac_ct.cpp | 680 SK_SFNT_ULONG fontType = get_font_type_tag(fFontRef.get()); in onOpenStream() local 691 if (fontType == 0) { in onOpenStream() 692 fontType = SkSFNTHeader::fontType_WindowsTrueType::TAG; in onOpenStream() 704 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream() 711 if (fontType == SkSFNTHeader::fontType_PostScript::TAG) { in onOpenStream() 722 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream() 753 header->fontType = fontType; in onOpenStream()
|
D | SkTypeface_win_dw.cpp | 494 DWRITE_FONT_FACE_TYPE fontType = fDWriteFontFace->GetType(); in onGetAdvancedMetrics() local 495 if (fontType != DWRITE_FONT_FACE_TYPE_TRUETYPE && in onGetAdvancedMetrics() 496 fontType != DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION) in onGetAdvancedMetrics()
|
D | SkFontHost_FreeType.cpp | 592 const char* fontType = FT_Get_X11_Font_Format(face); in get_font_type() local 599 for(const auto& v : values) { if (strcmp(fontType, v.s) == 0) { return v.t; } } in get_font_type()
|
D | SkFontHost_win.cpp | 2171 DWORD fontType, LPARAM builderParam) { in enum_family_proc() argument
|
/external/skqp/src/pdf/ |
D | SkPDFFont.h | 123 SkAdvancedTypefaceMetrics::FontType fontType,
|
D | SkPDFFont.cpp | 234 SkAdvancedTypefaceMetrics::FontType fontType, in SkPDFFont() argument 239 , fFontType(fontType) {} in SkPDFFont()
|
D | SkPDFDevice.cpp | 1051 SkAdvancedTypefaceMetrics::FontType fontType) { in needs_new_font() argument 1055 if (fontType == SkAdvancedTypefaceMetrics::kOther_Font) { in needs_new_font() 1097 SkAdvancedTypefaceMetrics::FontType fontType = SkPDFFont::FontType(*metrics); in internalDrawGlyphRun() local 1206 if (needs_new_font(font, gid, glyphCache.get(), fontType)) { in internalDrawGlyphRun()
|
/external/skia/src/pdf/ |
D | SkPDFFont.h | 131 SkAdvancedTypefaceMetrics::FontType fontType,
|
D | SkPDFFont.cpp | 228 SkAdvancedTypefaceMetrics::FontType fontType, in SkPDFFont() argument 233 , fFontType(fontType) in SkPDFFont()
|
D | SkPDFDevice.cpp | 787 SkAdvancedTypefaceMetrics::FontType fontType) { in needs_new_font() argument 791 if (fontType == SkAdvancedTypefaceMetrics::kOther_Font) { in needs_new_font() 832 SkAdvancedTypefaceMetrics::FontType fontType = SkPDFFont::FontType(*metrics); in internalDrawGlyphRun() local 931 if (needs_new_font(font, glyphs[index], fontType)) { in internalDrawGlyphRun()
|
/external/skqp/src/ports/ |
D | SkTypeface_win_dw.cpp | 502 DWRITE_FONT_FACE_TYPE fontType = fDWriteFontFace->GetType(); in onGetAdvancedMetrics() local 503 if (fontType != DWRITE_FONT_FACE_TYPE_TRUETYPE && in onGetAdvancedMetrics() 504 fontType != DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION) in onGetAdvancedMetrics()
|
D | SkFontHost_mac.cpp | 1787 SK_SFNT_ULONG fontType = get_font_type_tag(fFontRef.get()); in onOpenStream() local 1798 if (fontType == 0) { in onOpenStream() 1799 fontType = SkSFNTHeader::fontType_WindowsTrueType::TAG; in onOpenStream() 1811 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream() 1818 if (fontType == SkSFNTHeader::fontType_PostScript::TAG) { in onOpenStream() 1829 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream() 1860 header->fontType = fontType; in onOpenStream()
|
D | SkFontHost_FreeType.cpp | 556 const char* fontType = FT_Get_X11_Font_Format(face); in get_font_type() local 563 for(const auto& v : values) { if (strcmp(fontType, v.s) == 0) { return v.t; } } in get_font_type()
|
D | SkFontHost_win.cpp | 2277 DWORD fontType, LPARAM builderParam) { in enum_family_proc() argument
|