• Home
  • Raw
  • Download

Lines Matching refs:emSize

276 SkScalar scaleFromFontUnits(int16_t val, uint16_t emSize) {  in scaleFromFontUnits()  argument
278 if (emSize == 1000) { in scaleFromFontUnits()
281 return SkScalarMulDiv(scaled, 1000, emSize); in scaleFromFontUnits()
300 SkPDFArray* makeFontBBox(SkIRect glyphBBox, uint16_t emSize) { in makeFontBBox() argument
303 bbox->appendScalar(scaleFromFontUnits(glyphBBox.fLeft, emSize)); in makeFontBBox()
304 bbox->appendScalar(scaleFromFontUnits(glyphBBox.fBottom, emSize)); in makeFontBBox()
305 bbox->appendScalar(scaleFromFontUnits(glyphBBox.fRight, emSize)); in makeFontBBox()
306 bbox->appendScalar(scaleFromFontUnits(glyphBBox.fTop, emSize)); in makeFontBBox()
310 SkPDFArray* appendWidth(const int16_t& width, uint16_t emSize, in appendWidth() argument
312 array->appendScalar(scaleFromFontUnits(width, emSize)); in appendWidth()
318 uint16_t emSize, SkPDFArray* array) { in appendVerticalAdvance() argument
319 appendWidth(advance.fVerticalAdvance, emSize, array); in appendVerticalAdvance()
320 appendWidth(advance.fOriginXDisp, emSize, array); in appendVerticalAdvance()
321 appendWidth(advance.fOriginYDisp, emSize, array); in appendVerticalAdvance()
328 uint16_t emSize, in composeAdvanceData() argument
329 SkPDFArray* (*appendAdvance)(const Data& advance, uint16_t emSize, in composeAdvanceData()
343 appendAdvance(advanceInfo->fAdvance[j], emSize, in composeAdvanceData()
353 appendAdvance(advanceInfo->fAdvance[0], emSize, result); in composeAdvanceData()
941 const uint16_t emSize = fFontInfo->fEmSize; in addCommonFontDescriptorEntries() local
946 scaleFromFontUnits(fFontInfo->fAscent, emSize)); in addCommonFontDescriptorEntries()
948 scaleFromFontUnits(fFontInfo->fDescent, emSize)); in addCommonFontDescriptorEntries()
950 scaleFromFontUnits(fFontInfo->fStemV, emSize)); in addCommonFontDescriptorEntries()
953 scaleFromFontUnits(fFontInfo->fCapHeight, emSize)); in addCommonFontDescriptorEntries()
960 scaleFromFontUnits(defaultWidth, emSize)); in addCommonFontDescriptorEntries()
1290 const uint16_t emSize = fontInfo()->fEmSize; in addWidthInfoFromRange() local
1298 appendWidth(widthRangeEntry->fAdvance[0], emSize, widthArray.get()); in addWidthInfoFromRange()
1303 appendWidth(widthRangeEntry->fAdvance[i], emSize, widthArray.get()); in addWidthInfoFromRange()