Lines Matching refs:fontMetrics
809 SkAutoTUnref<const SkAdvancedTypefaceMetrics> fontMetrics; in GetFontResource() local
812 fontMetrics.reset(SkSafeRef(relatedFont->fontInfo())); in GetFontResource()
819 fontMetrics.get() ? fontMetrics.get()->fType : in GetFontResource()
835 fontMetrics.reset( in GetFontResource()
838 if (fontMetrics.get() && in GetFontResource()
839 fontMetrics->fType != SkAdvancedTypefaceMetrics::kTrueType_Font) { in GetFontResource()
843 fontMetrics.reset( in GetFontResource()
849 SkPDFFont* font = SkPDFFont::Create(canon, fontMetrics.get(), typeface, in GetFontResource()
1126 SkAutoTUnref<const SkAdvancedTypefaceMetrics> fontMetrics( in populate() local
1128 setFontInfo(fontMetrics.get()); in populate()
1427 SkAutoTUnref<const SkAdvancedTypefaceMetrics> fontMetrics( in CanEmbedTypeface() local
1430 if (fontMetrics) { in CanEmbedTypeface()
1432 fontMetrics->fFlags & in CanEmbedTypeface()