Home
last modified time | relevance | path

Searched refs:fontCache (Results 1 – 10 of 10) sorted by relevance

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/
DMetricsGenerator.php10 private $fontCache; variable in Mpdf\\Fonts\\MetricsGenerator
14 public function __construct(FontCache $fontCache, $fontDescriptor) argument
16 $this->fontCache = $fontCache;
22 $ttf = new TTFontFile($this->fontCache, $this->fontDescriptor);
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')) {
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/
DFontWriter.php28 private $fontCache; variable in Mpdf\\Writer\\FontWriter
35 public function __construct(Mpdf $mpdf, BaseWriter $writer, FontCache $fontCache, $fontDescriptor) argument
39 $this->fontCache = $fontCache;
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…
82 $ttf = new TTFontFile($this->fontCache, $this->fontDescriptor);
89 $this->fontCache->binaryWrite($fontkey . '.ps.z', $font);
90 $this->fontCache->jsonWrite($fontkey . '.ps.json', $originalsize);
92 } elseif ($this->fontCache->has($fontkey . '.z')) {
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
DServiceFactory.php57 …$fontCache = new FontCache(new Cache($cacheBasePath . '/ttfontdata', $config['cacheCleanupInterval…
65 $otl = new Otl($mpdf, $fontCache);
106 $fontWriter = new FontWriter($mpdf, $writer, $fontCache, $fontDescriptor);
137 'fontCache' => $fontCache,
DOtl.php29 private $fontCache; variable in Mpdf\\Otl
111 public function __construct(Mpdf $mpdf, FontCache $fontCache) argument
114 $this->fontCache = $fontCache;
141 if (!isset($this->GDEFdata[$this->fontkey]) && $this->fontCache->jsonHas($fontCacheFilename)) {
142 $font = $this->fontCache->jsonLoad($fontCacheFilename);
335 …$this->ttfOTLdata = $this->GDEFdata[$this->fontkey]['GSUBGPOStables'] = $this->fontCache->load($th…
337 …throw new \Mpdf\MpdfException('Can\'t open file ' . $this->fontCache->tempFilename($this->fontkey …
372 if ($this->fontCache->jsonHas($fontCacheFilename)) {
373 $font = $this->fontCache->jsonLoad($fontCacheFilename);
392 if (!isset($this->GSUBdata[$this->fontkey]) && $this->fontCache->jsonHas($fontCacheFilename)) {
[all …]
DTTFontFile.php54 private $fontCache; variable in Mpdf\\TTFontFile
214 public function __construct(FontCache $fontCache, $fontDescriptor) argument
216 $this->fontCache = $fontCache;
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);
2359 $this->fontCache->jsonWrite($this->fontkey . '.GSUB.' . $st . '.' . $t . '.json', $font);
3452 $this->fontCache->jsonWrite($this->fontkey . '.GPOSdata.json', $this->LuCoverage);
DMpdf.php886 private $fontCache; variable in Mpdf\\Mpdf
3886 if ($this->fontCache->jsonHas($fontCacheFilename)) {
3887 $font = $this->fontCache->jsonLoad($fontCacheFilename);
3917 $generator = new MetricsGenerator($this->fontCache, $this->fontDescriptor);
3930 $font = $this->fontCache->jsonLoad($fontCacheFilename);
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')) {
[all …]
/plugin/pdfjs/pdfjs/build/
Dpdf.worker.js12546 fontCache = _ref.fontCache,
12557 this.fontCache = fontCache;
12668 fontCache: this.fontCache, property
12785 fontCache: _this3.fontCache, property
13098 fontCache: catalog.fontCache, property
13403 this.fontCache = new _primitives.RefSetCache();
13665 this.fontCache.forEach(function (promise) {
13706 this.fontCache.forEach(function (promise) {
13715 _this.fontCache.clear();
30387 fontCache = _ref.fontCache,
[all …]
Dpdf.worker.js.map1fontCache","builtInCMapCache","options","pdfFunctionFactory","dataPromises","pageListPromise","opL…
/plugin/datatables/assets/pdfmake/
Dpdfmake.js69134 this.fontCache = {};
69169 this.fontCache[familyName] = this.fontCache[familyName] || {};
69171 if (!this.fontCache[familyName][type]) {
69176 this.fontCache[familyName][type] = this.pdfKitDoc.font.apply(this.pdfKitDoc, def)._font;
69179 return this.fontCache[familyName][type];
Dpdfmake.min.js2fontCache={},r)if(r.hasOwnProperty(o)){var u=r[o];this.fonts[o]={normal:u.normal,bold:u.bold,itali…