Home
last modified time | relevance | path

Searched refs:fontType (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/modules/canvaskit/tests/
Dfont.spec.js237 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/
DSkTypeface_mac_ct.cpp679 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()
DSkTypeface_win_dw.cpp525 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()
DSkFontHost_FreeType.cpp423 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()
DSkFontHost_win.cpp2171 DWORD fontType, LPARAM builderParam) { in enum_family_proc() argument
/third_party/flutter/skia/src/sfnt/
DSkSFNTHeader.h21 SK_SFNT_ULONG fontType; member
/third_party/skia/src/sfnt/
DSkSFNTHeader.h21 SK_SFNT_ULONG fontType; member
/third_party/flutter/skia/src/ports/
DSkTypeface_win_dw.cpp445 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()
DSkFontHost_mac.cpp1860 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()
DSkFontHost_FreeType.cpp579 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()
DSkFontHost_win.cpp2198 DWORD fontType, LPARAM builderParam) { in enum_family_proc() argument
/third_party/skia/src/pdf/
DSkPDFFont.h130 SkAdvancedTypefaceMetrics::FontType fontType,
DSkPDFFont.cpp228 SkAdvancedTypefaceMetrics::FontType fontType, in SkPDFFont() argument
233 , fFontType(fontType) in SkPDFFont()
DSkPDFDevice.cpp795 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/
DSkPDFFont.h132 SkAdvancedTypefaceMetrics::FontType fontType,
DSkPDFFont.cpp229 SkAdvancedTypefaceMetrics::FontType fontType, in SkPDFFont() argument
234 , fFontType(fontType) {} in SkPDFFont()
DSkPDFDevice.cpp771 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()