/third_party/skia/modules/canvaskit/tests/ |
D | font.spec.js | 237 for (const fontType of inputs) { 239 expect(fontType.buffer).toBeTruthy(fontType.type + ' did not load'); 241 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(fontType.buffer); 245 canvas.drawText(fontType.type + ' loaded', 5, fontType.y, fontPaint, font); 247 … canvas.drawText(fontType.type + ' *not* loaded', 5, fontType.y, fontPaint, defaultFont);
|
/third_party/skia/src/ports/ |
D | SkTypeface_mac_ct.cpp | 679 SK_SFNT_ULONG fontType = get_font_type_tag(fFontRef.get()); in onOpenStream() local 690 if (fontType == 0) { in onOpenStream() 691 fontType = SkSFNTHeader::fontType_WindowsTrueType::TAG; in onOpenStream() 703 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream() 710 if (fontType == SkSFNTHeader::fontType_PostScript::TAG) { in onOpenStream() 721 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream() 752 header->fontType = fontType; in onOpenStream()
|
D | SkTypeface_win_dw.cpp | 525 DWRITE_FONT_FACE_TYPE fontType = fDWriteFontFace->GetType(); in onGetAdvancedMetrics() local 526 if (fontType != DWRITE_FONT_FACE_TYPE_TRUETYPE && in onGetAdvancedMetrics() 527 fontType != DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION) in onGetAdvancedMetrics()
|
D | SkFontHost_FreeType.cpp | 423 const char* fontType = FT_Get_X11_Font_Format(face); in get_font_type() local 430 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
|
/third_party/flutter/skia/src/sfnt/ |
D | SkSFNTHeader.h | 21 SK_SFNT_ULONG fontType; member
|
/third_party/skia/src/sfnt/ |
D | SkSFNTHeader.h | 21 SK_SFNT_ULONG fontType; member
|
/third_party/flutter/skia/src/ports/ |
D | SkTypeface_win_dw.cpp | 445 DWRITE_FONT_FACE_TYPE fontType = fDWriteFontFace->GetType(); in onGetAdvancedMetrics() local 446 if (fontType != DWRITE_FONT_FACE_TYPE_TRUETYPE && in onGetAdvancedMetrics() 447 fontType != DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION) in onGetAdvancedMetrics()
|
D | SkFontHost_mac.cpp | 1860 SK_SFNT_ULONG fontType = get_font_type_tag(fFontRef.get()); in onOpenStream() local 1871 if (fontType == 0) { in onOpenStream() 1872 fontType = SkSFNTHeader::fontType_WindowsTrueType::TAG; in onOpenStream() 1884 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream() 1891 if (fontType == SkSFNTHeader::fontType_PostScript::TAG) { in onOpenStream() 1902 fontType = SkSFNTHeader::fontType_OpenTypeCFF::TAG; in onOpenStream() 1933 header->fontType = fontType; in onOpenStream()
|
D | SkFontHost_FreeType.cpp | 579 const char* fontType = FT_Get_X11_Font_Format(face); in get_font_type() local 586 for(const auto& v : values) { if (strcmp(fontType, v.s) == 0) { return v.t; } } in get_font_type()
|
D | SkFontHost_win.cpp | 2198 DWORD fontType, LPARAM builderParam) { in enum_family_proc() argument
|
/third_party/skia/src/pdf/ |
D | SkPDFFont.h | 130 SkAdvancedTypefaceMetrics::FontType fontType,
|
D | SkPDFFont.cpp | 228 SkAdvancedTypefaceMetrics::FontType fontType, in SkPDFFont() argument 233 , fFontType(fontType) in SkPDFFont()
|
D | SkPDFDevice.cpp | 795 SkAdvancedTypefaceMetrics::FontType fontType) { in needs_new_font() argument 799 if (fontType == SkAdvancedTypefaceMetrics::kOther_Font) { in needs_new_font() 840 SkAdvancedTypefaceMetrics::FontType fontType = SkPDFFont::FontType(*metrics); in internalDrawGlyphRun() local 939 if (needs_new_font(font, glyphs[index], fontType)) { in internalDrawGlyphRun()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFFont.h | 132 SkAdvancedTypefaceMetrics::FontType fontType,
|
D | SkPDFFont.cpp | 229 SkAdvancedTypefaceMetrics::FontType fontType, in SkPDFFont() argument 234 , fFontType(fontType) {} in SkPDFFont()
|
D | SkPDFDevice.cpp | 771 SkAdvancedTypefaceMetrics::FontType fontType) { in needs_new_font() argument 775 if (fontType == SkAdvancedTypefaceMetrics::kOther_Font) { in needs_new_font() 816 SkAdvancedTypefaceMetrics::FontType fontType = SkPDFFont::FontType(*metrics); in internalDrawGlyphRun() local 926 if (needs_new_font(font, glyphs[index], fontType)) { in internalDrawGlyphRun()
|