Lines Matching refs:subset
55 $usage = (int) (count($f['subset']) * 100 / $nChars);
57 // Always subset the very large TTF files
169 $this->mpdf->fonts[$k]['n'][$sfid] = $this->mpdf->n + 1; // NB an array for subset
173 /* For some strange reason a subset ($sfid > 0) containing less than 97 characters causes an error
179 $subset = $font['subsets'][$sfid];
180 unset($subset[0]);
181 $ttfontstream = $ttf->makeSubsetSIP($font['ttffile'], $subset, $font['TTCfontID'], $this->mpdf->debugfonts, $font['useOTL']); // mPDF 5.7.1
273 } // foreach subset
284 $subset = $font['subset'];
285 unset($subset[0]);
286 $ttfontstream = $ttf->makeSubset($font['ttffile'], $subset, $font['TTCfontID'], $this->mpdf->debugfonts, $font['useOTL']);
488 if ($asSubset && $cid > 255 && (!isset($font['subset'][$cid]) || !$font['subset'][$cid])) {