Home
last modified time | relevance | path

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

/external/skia/modules/canvaskit/tests/
Dfont.spec.js244 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/
DSkSFNTHeader.h21 SK_SFNT_ULONG fontType; member
/external/skqp/src/sfnt/
DSkSFNTHeader.h21 SK_SFNT_ULONG fontType; member
/external/skia/src/ports/
DSkTypeface_mac_ct.cpp680 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()
DSkTypeface_win_dw.cpp494 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()
DSkFontHost_FreeType.cpp592 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()
DSkFontHost_win.cpp2171 DWORD fontType, LPARAM builderParam) { in enum_family_proc() argument
/external/skqp/src/pdf/
DSkPDFFont.h123 SkAdvancedTypefaceMetrics::FontType fontType,
DSkPDFFont.cpp234 SkAdvancedTypefaceMetrics::FontType fontType, in SkPDFFont() argument
239 , fFontType(fontType) {} in SkPDFFont()
DSkPDFDevice.cpp1051 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/
DSkPDFFont.h131 SkAdvancedTypefaceMetrics::FontType fontType,
DSkPDFFont.cpp228 SkAdvancedTypefaceMetrics::FontType fontType, in SkPDFFont() argument
233 , fFontType(fontType) in SkPDFFont()
DSkPDFDevice.cpp787 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/
DSkTypeface_win_dw.cpp502 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()
DSkFontHost_mac.cpp1787 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()
DSkFontHost_FreeType.cpp556 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()
DSkFontHost_win.cpp2277 DWORD fontType, LPARAM builderParam) { in enum_family_proc() argument