Lines Matching refs:n

74 					$this->mpdf->FontFiles[$fontkey]['n'] = $this->mpdf->n;
130 $this->mpdf->fonts[$k]['n'] = $this->mpdf->n + 1;
138 $this->mpdf->fonts[$k]['n'] = $this->mpdf->n + 1;
169 $this->mpdf->fonts[$k]['n'][$sfid] = $this->mpdf->n + 1; // NB an array for subset
201 $toUnistring .= sprintf("<%02s> <%02s%02s%02s%02s>\n", strtoupper(dechex($cp)), strtoupper(dechex($l1)), strtoupper(dechex($h1)), strtoupper(dechex($l2)), strtoupper(dechex($h2)));
203 $toUnistring .= sprintf("<%02s> <%04s>\n", strtoupper(dechex($cp)), strtoupper(dechex($u)));
213 $this->writer->write('/Widths ' . ($this->mpdf->n + 1) . ' 0 R');
214 $this->writer->write('/FontDescriptor ' . ($this->mpdf->n + 2) . ' 0 R');
215 $this->writer->write('/ToUnicode ' . ($this->mpdf->n + 3) . ' 0 R');
226 $s = '<</Type /FontDescriptor /FontName /' . $subsetname . "\n";
232 $s .= ' /' . $kd . ' ' . $v . "\n";
234 $s .= '/FontFile2 ' . ($this->mpdf->n + 2) . ' 0 R';
240 $toUni = "/CIDInit /ProcSet findresource begin\n";
241 $toUni .= "12 dict begin\n";
242 $toUni .= "begincmap\n";
243 $toUni .= "/CIDSystemInfo\n";
244 $toUni .= "<</Registry (Adobe)\n";
245 $toUni .= "/Ordering (UCS)\n";
246 $toUni .= "/Supplement 0\n";
247 $toUni .= ">> def\n";
248 $toUni .= "/CMapName /Adobe-Identity-UCS def\n";
249 $toUni .= "/CMapType 2 def\n";
250 $toUni .= "1 begincodespacerange\n";
251 $toUni .= "<00> <FF>\n";
252 // $toUni .= sprintf("<00> <%02s>\n", strtoupper(dechex(count($font['subsets'][$sfid])-1)));
253 $toUni .= "endcodespacerange\n";
254 $toUni .= count($font['subsets'][$sfid]) . " beginbfchar\n";
256 $toUni .= "endbfchar\n";
257 $toUni .= "endcmap\n";
258 $toUni .= "CMapName currentdict /CMap defineresource pop\n";
259 $toUni .= "end\n";
260 $toUni .= "end\n";
278 $this->mpdf->fonts[$k]['n'] = $this->mpdf->n + 1;
302 $this->writer->write('/DescendantFonts [' . ($this->mpdf->n + 1) . ' 0 R]');
303 $this->writer->write('/ToUnicode ' . ($this->mpdf->n + 2) . ' 0 R');
313 $this->writer->write('/CIDSystemInfo ' . ($this->mpdf->n + 2) . ' 0 R');
314 $this->writer->write('/FontDescriptor ' . ($this->mpdf->n + 3) . ' 0 R');
327 $this->writer->write('/CIDToGIDMap ' . ($this->mpdf->n + 4) . ' 0 R');
333 $toUni = "/CIDInit /ProcSet findresource begin\n";
334 $toUni .= "12 dict begin\n";
335 $toUni .= "begincmap\n";
336 $toUni .= "/CIDSystemInfo\n";
337 $toUni .= "<</Registry (Adobe)\n";
338 $toUni .= "/Ordering (UCS)\n";
339 $toUni .= "/Supplement 0\n";
340 $toUni .= ">> def\n";
341 $toUni .= "/CMapName /Adobe-Identity-UCS def\n";
342 $toUni .= "/CMapType 2 def\n";
343 $toUni .= "1 begincodespacerange\n";
344 $toUni .= "<0000> <FFFF>\n";
345 $toUni .= "endcodespacerange\n";
346 $toUni .= "1 beginbfrange\n";
347 $toUni .= "<0000> <FFFF> <0000>\n";
348 $toUni .= "endbfrange\n";
349 $toUni .= "endcmap\n";
350 $toUni .= "CMapName currentdict /CMap defineresource pop\n";
351 $toUni .= "end\n";
352 $toUni .= "end\n";
384 $this->writer->write('/FontFile2 ' . ($this->mpdf->n + 2) . ' 0 R');
387 $this->writer->write('/FontFile2 ' . $this->mpdf->FontFiles[$font['fontkey']]['n'] . ' 0 R');
579 $w .= ' ' . $k . ' [ ' . implode(' ', $ws) . ' ]' . "\n";
645 $this->writer->write('/DescendantFonts [' . ($this->mpdf->n + 1) . ' 0 R]');
659 $this->writer->write('/FontDescriptor ' . ($this->mpdf->n + 1) . ' 0 R');