• Home
  • Raw
  • Download

Lines Matching refs:upem

752     SkScalar upem = SkIntToScalar(dwfm.designUnitsPerEm);  in generateFontMetrics()  local
754 metrics->fAscent = -fTextSizeRender * SkIntToScalar(dwfm.ascent) / upem; in generateFontMetrics()
755 metrics->fDescent = fTextSizeRender * SkIntToScalar(dwfm.descent) / upem; in generateFontMetrics()
756 metrics->fLeading = fTextSizeRender * SkIntToScalar(dwfm.lineGap) / upem; in generateFontMetrics()
757 metrics->fXHeight = fTextSizeRender * SkIntToScalar(dwfm.xHeight) / upem; in generateFontMetrics()
758 metrics->fCapHeight = fTextSizeRender * SkIntToScalar(dwfm.capHeight) / upem; in generateFontMetrics()
759 metrics->fUnderlineThickness = fTextSizeRender * SkIntToScalar(dwfm.underlineThickness) / upem; in generateFontMetrics()
760 metrics->fUnderlinePosition = -(fTextSizeRender * SkIntToScalar(dwfm.underlinePosition) / upem); in generateFontMetrics()
761 …metrics->fStrikeoutThickness = fTextSizeRender * SkIntToScalar(dwfm.strikethroughThickness) / upem; in generateFontMetrics()
762 …etrics->fStrikeoutPosition = -(fTextSizeRender * SkIntToScalar(dwfm.strikethroughPosition) / upem); in generateFontMetrics()
772 metrics->fTop = -fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxTop) / upem; in generateFontMetrics()
773 metrics->fBottom = -fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxBottom) / upem; in generateFontMetrics()
774 metrics->fXMin = fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxLeft) / upem; in generateFontMetrics()
775 metrics->fXMax = fTextSizeRender * SkIntToScalar(dwfm1.glyphBoxRight) / upem; in generateFontMetrics()
786 metrics->fTop = -fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->yMax) / upem; in generateFontMetrics()
787 metrics->fBottom = -fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->yMin) / upem; in generateFontMetrics()
788 metrics->fXMin = fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->xMin) / upem; in generateFontMetrics()
789 metrics->fXMax = fTextSizeRender * (int16_t)SkEndian_SwapBE16(head->xMax) / upem; in generateFontMetrics()