Lines Matching refs:basepos
3213 private function _applyGPOSvaluerecord($basepos, $Value)
3218 if (strpos($this->GlyphClassMarks, $this->OTLdata[$basepos]['hex']) !== false) {
3219 $cw = round($this->mpdf->_getCharWidth($this->mpdf->CurrentFont['cw'], $this->OTLdata[$basepos]['uni']) * $this->mpdf->CurrentFont['unitsPerEm'] / 1000); // convert back to font design units
3224 $apos = $this->_getXAdvancePos($basepos);
3234 // For RTL apply XAdvanceR to base = at $basepos
3240 if (isset($this->OTLdata[$basepos]['GPOSinfo']['XAdvanceR'])) {
3241 $this->OTLdata[$basepos]['GPOSinfo']['XAdvanceR'] += $Value['XAdvance'] - $cw;
3243 $this->OTLdata[$basepos]['GPOSinfo']['XAdvanceR'] = $Value['XAdvance'] - $cw;
3247 // Any XPlacement (? and Y Placement) apply to base and marks (from basepos to apos)
3248 for ($a = $basepos; $a <= $apos; $a++) {