| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/ |
| D | MetricsGenerator.php | 20 …public function generateMetrics($ttffile, $ttfstat, $fontkey, $TTCfontID, $debugfonts, $BMPonly, $… argument 23 $ttf->getMetrics($ttffile, $fontkey, $TTCfontID, $debugfonts, $BMPonly, $useOTL); // mPDF 5.7.1 53 'fontkey' => $fontkey, 70 $this->fontCache->jsonWrite($fontkey . '.mtx.json', $font); 71 $this->fontCache->binaryWrite($fontkey . '.cw.dat', $ttf->charWidths); 72 $this->fontCache->binaryWrite($fontkey . '.gid.dat', $ttf->glyphIDtoUni); 74 if ($this->fontCache->has($fontkey . '.cgm')) { 75 $this->fontCache->remove($fontkey . '.cgm'); 78 if ($this->fontCache->has($fontkey . '.z')) { 79 $this->fontCache->remove($fontkey . '.z'); [all …]
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/ |
| D | FontWriter.php | 45 foreach ($this->mpdf->FontFiles as $fontkey => $info) { 51 if (isset($f['fontkey']) && $f['fontkey'] === $fontkey && $f['type'] === 'TTF') { 74 $this->mpdf->FontFiles[$fontkey]['n'] = $this->mpdf->n; 76 …this->mpdf->repackageTTF || $this->mpdf->fonts[$fontkey]['TTCfontID'] > 0 || $this->mpdf->fonts[$f… 78 …if ($this->fontCache->has($fontkey . '.ps.z') && $this->fontCache->jsonHas($fontkey . '.ps.json'))… 79 $font = $this->fontCache->load($fontkey . '.ps.z'); 80 …$originalsize = $this->fontCache->jsonLoad($fontkey . '.ps.json'); // sets $originalsize (of repa… 83 …>mpdf->FontFiles[$fontkey]['ttffile'], $this->mpdf->fonts[$fontkey]['TTCfontID'], $this->mpdf->deb… 89 $this->fontCache->binaryWrite($fontkey . '.ps.z', $font); 90 $this->fontCache->jsonWrite($fontkey . '.ps.json', $originalsize); [all …]
|
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
| D | Otl.php | 45 var $fontkey; variable in Mpdf\\Otl 138 $this->fontkey = $this->mpdf->CurrentFont['fontkey']; 140 $fontCacheFilename = $this->fontkey . '.GDEFdata.json'; 141 if (!isset($this->GDEFdata[$this->fontkey]) && $this->fontCache->jsonHas($fontCacheFilename)) { 144 $this->GSUB_offset = $this->GDEFdata[$this->fontkey]['GSUB_offset'] = $font['GSUB_offset']; 145 $this->GPOS_offset = $this->GDEFdata[$this->fontkey]['GPOS_offset'] = $font['GPOS_offset']; 146 $this->GSUB_length = $this->GDEFdata[$this->fontkey]['GSUB_length'] = $font['GSUB_length']; 147 …$this->MarkAttachmentType = $this->GDEFdata[$this->fontkey]['MarkAttachmentType'] = $font['MarkAtt… 148 $this->MarkGlyphSets = $this->GDEFdata[$this->fontkey]['MarkGlyphSets'] = $font['MarkGlyphSets']; 149 …$this->GlyphClassMarks = $this->GDEFdata[$this->fontkey]['GlyphClassMarks'] = $font['GlyphClassMar… [all …]
|
| D | OtlDump.php | 59 var $fontkey; // mPDF 5.7.1 variable in Mpdf\\OtlDump 171 …function getMetrics($file, $fontkey, $TTCfontID = 0, $debug = false, $BMPonly = false, $kerninfo =… argument 176 $this->fontkey = $fontkey; // mPDF 5.7.1 1810 …e 5, SubstFormat 3 not tested. Please report this with the name of font used - " . $this->fontkey); 2731 …throw new \Mpdf\Exception\FontException("This font " . $this->fontkey . " contains MarkGlyphSets"); 3554 …$pdfWidth = $this->mpdf->_getCharWidth($this->mpdf->fonts[$this->fontkey]['cw'], hexdec($Glyphs[$i… 3565 …if (round($pdfWidth) == round($x * 1000 / $this->mpdf->fonts[$this->fontkey]['desc']['unitsPerEm']… 3568 $x = $x - ($pdfWidth * $this->mpdf->fonts[$this->fontkey]['desc']['unitsPerEm'] / 1000); 3577 …if (round($pdfWidth) == round($x * 1000 / $this->mpdf->fonts[$this->fontkey]['desc']['unitsPerEm']… 3580 $x = $x - ($pdfWidth * $this->mpdf->fonts[$this->fontkey]['desc']['unitsPerEm'] / 1000);
|
| D | TTFontFile.php | 80 var $fontkey; variable in Mpdf\\TTFontFile 223 …public function getMetrics($file, $fontkey, $TTCfontID = 0, $debug = false, $BMPonly = false, $use… argument 226 $this->fontkey = $fontkey; 1376 $this->fontCache->write($this->fontkey . '.GSUBGPOStables.dat', $s); 1391 $this->fontCache->jsonWrite($this->fontkey . '.GDEFdata.json', $font); 1616 $this->fontCache->jsonWrite($this->fontkey . '.GSUBdata.json', $this->GSLuCoverage); 2010 …e 5, SubstFormat 3 not tested. Please report this with the name of font used - " . $this->fontkey); 2359 $this->fontCache->jsonWrite($this->fontkey . '.GSUB.' . $st . '.' . $t . '.json', $font); 2975 …throw new \Mpdf\Exception\FontException("This font " . $this->fontkey . " contains MarkGlyphSets -… 3452 $this->fontCache->jsonWrite($this->fontkey . '.GPOSdata.json', $this->LuCoverage);
|
| D | Mpdf.php | 3827 $fontkey = $family . $style; 3830 if (isset($this->fonts[$fontkey])) { 3885 $fontCacheFilename = $fontkey . '.mtx.json'; 3922 $fontkey, 3931 $cw = $this->fontCache->load($fontkey . '.cw.dat'); 3932 $glyphIDtoUni = $this->fontCache->load($fontkey . '.gid.dat'); 3934 if ($this->fontCache->has($fontkey . '.cw.dat')) { 3935 $cw = $this->fontCache->load($fontkey . '.cw.dat'); 3938 if ($this->fontCache->has($fontkey . '.gid.dat')) { 3939 $glyphIDtoUni = $this->fontCache->load($fontkey . '.gid.dat'); [all …]
|
| /plugin/html2pdf/html2pdf/html2ps/ |
| D | pdf.fpdf.php | 1501 function _LoadFont($fontkey, $family, $encoding) { argument 1502 if (!isset($this->fonts[$fontkey])) { 1512 if (!file_exists($this->_getfontpath().$fontkey.'.php') || 1518 $fontkey.'.php', 1522 $this->AddFont($fontkey, $family, $encoding, $fontkey.'.php', $embed); 1531 $fontkey = $this->_MakeFontKey($name, $encoding); 1532 $this->_LoadFont($fontkey, $name, $encoding, ''); 1533 return $this->fonts[$fontkey]['desc']['Ascent'] / 1000; 1537 $fontkey = $this->_MakeFontKey($name, $encoding); 1538 $this->_LoadFont($fontkey, $name, $encoding, ''); [all …]
|
| /plugin/html2pdf/html2pdf/html2ps/fpdf/ |
| D | fpdf.php | 1408 function _LoadFont($fontkey, $family, $encoding, $style) { argument 1411 if (!isset($this->fonts[$fontkey])) { 1421 if (!file_exists($this->_getfontpath().$fontkey.'.php')) { 1427 $fontkey.'.php', 1432 $this->AddFont($fontkey, $family, "", $encoding, $fontkey.'.php', $embed); 1441 $fontkey = $this->_MakeFontKey($name, $encoding); 1442 $this->_LoadFont($fontkey, $name, $encoding, ''); 1443 return $this->fonts[$fontkey]['desc']['Ascent'] / 1000; 1447 $fontkey = $this->_MakeFontKey($name, $encoding); 1448 $this->_LoadFont($fontkey, $name, $encoding, ''); [all …]
|