/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/ |
H A D | MetricsGenerator.php | 20 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 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 [all...] |
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/ |
H A 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 if ($this->mpdf->repackageTTF || $this->mpdf->fonts[$fontkey]['TTCfontID'] > 0 || $this->mpdf->fonts[$fontkey]['useOTL'] > 0) { // mPDF 5.7.1 78 if ($this->fontCache->has($fontkey . '.ps.z') && $this->fontCache->jsonHas($fontkey . '.ps.json')) { 79 $font = $this->fontCache->load($fontkey [all...] |
/plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
H A 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['MarkAttachmentType']; 148 $this->MarkGlyphSets = $this->GDEFdata[$this->fontkey]['MarkGlyphSet [all...] |
H A 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 = false, $useOTL = 0, $mode = null) argument 176 $this->fontkey = $fontkey; // mPDF 5.7.1 1810 throw new \Mpdf\Exception\FontException("Lookup Type 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]['des [all...] |
H A D | TTFontFile.php | 80 var $fontkey; variable in Mpdf\\TTFontFile 223 public function getMetrics($file, $fontkey, $TTCfontID = 0, $debug = false, $BMPonly = false, $useOTL = 0) 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 throw new \Mpdf\Exception\FontException("Lookup Type 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 [all...] |
H A 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 [all...] |
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | pdf.fpdf.php | 1501 function _LoadFont($fontkey, $family, $encoding) { argument 1502 if (!isset($this->fonts[$fontkey])) { 1518 $fontkey.'.php', 1522 $this->AddFont($fontkey, $family, $encoding, $fontkey.'.php', $embed); 1531 $fontkey = $this->_MakeFontKey($name, $encoding); 1532 $this->_LoadFont($fontkey, $name, $encoding, ''); 1924 if(isset($this->fonts[$fontkey])) { 1941 $this->fonts[$fontkey]=array('i' =>$i, 1974 $this->fonts[$fontkey]['diff']=$d; 1993 $this->_LoadFont($fontkey, $family, $encoding); [all …]
|
/plugin/html2pdf/html2pdf/html2ps/fpdf/ |
H A D | fpdf.php | 1411 if (!isset($this->fonts[$fontkey])) { 1427 $fontkey.'.php', 1432 $this->AddFont($fontkey, $family, "", $encoding, $fontkey.'.php', $embed); 1441 $fontkey = $this->_MakeFontKey($name, $encoding); 1442 $this->_LoadFont($fontkey, $name, $encoding, ''); 1447 $fontkey = $this->_MakeFontKey($name, $encoding); 1448 $this->_LoadFont($fontkey, $name, $encoding, ''); 1947 if(isset($this->fonts[$fontkey])) { 1964 $this->fonts[$fontkey]=array('i' =>$i, 1989 $this->fonts[$fontkey]['diff']=$d; [all …]
|