Home
last modified time | relevance | path

Searched refs:dfFont (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/text/
DGrTextContext.cpp159 SkFont dfFont{font}; in InitDistanceFieldFont() local
163 dfFont.setSize(SkIntToScalar(kSmallDFFontSize)); in InitDistanceFieldFont()
166 dfFont.setSize(SkIntToScalar(kMediumDFFontSize)); in InitDistanceFieldFont()
169 dfFont.setSize(SkIntToScalar(kLargeDFFontSize)); in InitDistanceFieldFont()
172 dfFont.setEdging(SkFont::Edging::kAntiAlias); in InitDistanceFieldFont()
173 dfFont.setForceAutoHinting(false); in InitDistanceFieldFont()
174 dfFont.setHinting(kNormal_SkFontHinting); in InitDistanceFieldFont()
175 dfFont.setSubpixel(true); in InitDistanceFieldFont()
176 return dfFont; in InitDistanceFieldFont()
/external/skia/src/core/
DSkGlyphRunPainter.cpp395 SkFont dfFont = GrTextContext::InitDistanceFieldFont( in processGlyphRunList() local
408 dfFont, dfPaint, fDeviceProps, flags, SkMatrix::I(), &ad, &effects); in processGlyphRunList()
411 *ad.getDesc(), effects, *dfFont.getTypefaceOrDefault()); in processGlyphRunList()
/external/skqp/src/core/
DSkGlyphRunPainter.cpp1061 SkFont dfFont{runFont}; in maybeProcessGlyphRunForDFT() local
1068 &dfFont, in maybeProcessGlyphRunForDFT()
1072 auto* sdfCache = fStrikeServer->getOrCreateCache(dfPaint, dfFont, this->surfaceProps(), in maybeProcessGlyphRunForDFT()