Home | History | Annotate | Download | only in pdf

Lines Matching refs:emSize

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