Lines Matching defs:scale

809 		$scale = 1000 / $unitsPerEm;
815 $this->bbox = [($xMin * $scale), ($yMin * $scale), ($xMax * $scale), ($yMax * $scale)];
832 $this->hheaascent = ($hheaAscender * $scale);
833 $this->hheadescent = ($hheaDescender * $scale);
834 $this->hhealineGap = ($hheaLineGap * $scale);
835 $this->advanceWidthMax = ($hheaAdvanceWidthMax * $scale);
854 $this->strikeoutSize = ($yStrikeoutSize * $scale);
855 $this->strikeoutPosition = ($yStrikeoutPosition * $scale);
878 $this->typoAscender = ($sTypoAscender * $scale);
881 $this->typoDescender = ($sTypoDescender * $scale);
884 $this->typoLineGap = ($sTypoLineGap * $scale);
890 $this->usWinAscent = ($usWinAscent * $scale);
893 $this->usWinDescent = ($usWinDescent * $scale);
899 $this->xHeight = ($sxHeight * $scale);
901 $this->capHeight = ($sCapHeight * $scale);
960 $this->underlinePosition = $this->read_short() * $scale;
961 $this->underlineThickness = $this->read_short() * $scale;
1174 $this->xHeight = $yMaxx * $scale;
1193 $this->capHeight = $yMaxH * $scale;
1201 $this->getHMTX($numberOfHMetrics, $numGlyphs, $glyphToChar, $scale);
1224 $this->kerninfo[$glyphToChar[$left][0]][$glyphToChar[$right][0]] = intval($val * $scale);
3563 $scale = 1; // not used
3564 $this->getHMTX($numberOfHMetrics, $numGlyphs, $glyphToChar, $scale);
4097 $scale = 1; // not used here
4098 $this->getHMTX($numberOfHMetrics, $numGlyphs, $glyphToChar, $scale);
4523 function getHMTX($numberOfHMetrics, $numGlyphs, &$glyphToChar, $scale)
4561 $this->defaultWidth = $scale * $aw;
4567 $w = (int) round($scale * $aw);
4584 $w = (int) round($scale * $aw);