Home
last modified time | relevance | path

Searched refs:ctFont (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/ports/
DSkFontHost_mac.cpp547 AutoCFRelease<CTFontRef> ctFont(CTFontCreateWithFontDescriptor(ctFontDesc, 0, nullptr)); in NewFromName() local
548 if (!ctFont) { in NewFromName()
552 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(find_by_CTFontRef, (void*)ctFont.get()); in NewFromName()
554 face = NewFromFontRef(ctFont.detach(), nullptr, nullptr, false); in NewFromName()
760 CTFontRef ctFont = typeface->fFontRef.get(); in SkScalerContext_Mac() local
761 CFIndex numGlyphs = CTFontGetGlyphCount(ctFont); in SkScalerContext_Mac()
777 fCTFont.reset(ctfont_create_exact_copy(ctFont, textSize, nullptr)); in SkScalerContext_Mac()
1473 static void populate_glyph_to_unicode_slow(CTFontRef ctFont, CFIndex glyphCount, in populate_glyph_to_unicode_slow() argument
1481 if (CTFontGetGlyphsForCharacters(ctFont, &unichar, &glyph, 1)) { in populate_glyph_to_unicode_slow()
1494 static void populate_glyph_to_unicode(CTFontRef ctFont, CFIndex glyphCount, in populate_glyph_to_unicode() argument
[all …]
/external/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp280 CTFontRef ctFont,
284 bool (*getAdvance)(CTFontRef ctFont, int gId, int16_t* data));