Home
last modified time | relevance | path

Searched refs:TTCfontID (Results 1 – 5 of 5) sorted by relevance

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/
H A DMetricsGenerator.php20 public function generateMetrics($ttffile, $ttfstat, $fontkey, $TTCfontID, $debugfonts, $BMPonly, $useOTL, $fontUseOTL) argument
23 $ttf->getMetrics($ttffile, $fontkey, $TTCfontID, $debugfonts, $BMPonly, $useOTL); // mPDF 5.7.1
48 'TTCfontID' => $TTCfontID,
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DTTFontFileAnalysis.php9 function extractCoreInfo($file, $TTCfontID = 0) argument
34 if ($TTCfontID > 0) {
46 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
452 return [$this->familyName, $bold, $italic, $ftype, $TTCfontID, $rtl, $indic, $cjk, $sip, $smp, $puaag, $pua, $unAGlyphs];
H A DTTFontFile.php223 public function getMetrics($file, $fontkey, $TTCfontID = 0, $debug = false, $BMPonly = false, $useOTL = 0) argument
271 if ($version === 0x74746366 && !$TTCfontID) {
272 throw new \Mpdf\Exception\FontException(sprintf('TTCfontID for a TrueType Collection is not defined in mPDF "fontdata" configuration (%s)', $file));
275 if (!in_array($version, [0x00010000, 0x74727565], true) && !$TTCfontID) {
279 if ($TTCfontID > 0) {
288 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
555 function getCTG($file, $TTCfontID = 0, $debug = false, $useOTL = false)
575 if ($TTCfontID > 0) {
584 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
3457 function makeSubset($file, &$subset, $TTCfontID
543 getCTG($file, $TTCfontID = 0, $debug = false, $useOTL = false) global() argument
3445 makeSubset($file, & $subset, $TTCfontID = 0, $debug = false, $useOTL = false) global() argument
3938 makeSubsetSIP($file, & $subset, $TTCfontID = 0, $debug = false, $useOTL = 0) global() argument
4749 repackageTTF($file, $TTCfontID = 0, $debug = false, $useOTL = false) global() argument
[all...]
H A DOtlDump.php171 function getMetrics($file, $fontkey, $TTCfontID = 0, $debug = false, $BMPonly = false, $kerninfo = false, $useOTL = 0, $mode = null) argument
202 if ($version == 0x74746366 && !$TTCfontID) {
203 throw new \Mpdf\Exception\FontException("TTCfontID for a TrueType Collection has to be defined in ttfontdata configuration key (" . $file . ")");
206 if (!in_array($version, [0x00010000, 0x74727565]) && !$TTCfontID) {
210 if ($TTCfontID > 0) {
219 $this->seek($this->TTCFonts[$TTCfontID]['offset']);
H A DMpdf.php3893 $TTCfontID = isset($this->fontdata[$family]['TTCfontID'][$stylekey]) ? isset($this->fontdata[$family]['TTCfontID'][$stylekey]) : 0;
3923 $TTCfontID,
3980 'TTCfontID' => $TTCfontID,