Lines Matching defs:scale
598 $scale = 1000 / $unitsPerEm;
604 $this->bbox = [($xMin * $scale), ($yMin * $scale), ($xMax * $scale), ($yMax * $scale)];
621 $this->ascent = ($hheaAscender * $scale);
622 $this->descent = ($hheaDescender * $scale);
656 $this->ascent = ($sTypoAscender * $scale);
659 $this->descent = ($sTypoDescender * $scale);
664 $this->capHeight = ($sCapHeight * $scale);
671 $this->ascent = ($yMax * $scale);
674 $this->descent = ($yMin * $scale);
694 $this->underlinePosition = $this->read_short() * $scale;
695 $this->underlineThickness = $this->read_short() * $scale;
898 $this->getHMTX($numberOfHMetrics, $numGlyphs, $glyphToChar, $scale);
923 $this->kerninfo[$glyphToChar[$left][0]][$glyphToChar[$right][0]] = intval($val * $scale);
4071 function getHMTX($numberOfHMetrics, $numGlyphs, &$glyphToChar, $scale)
4102 $this->defaultWidth = $scale * $aw;
4106 //$this->charWidths[$char] = intval(round($scale*$aw));
4108 $w = intval(round($scale * $aw));
4124 $w = intval(round($scale * $aw));