|
|
'; }
echo ' |
|
tag if($ln>0) { //Go to next line $this->y += $h; if($ln==1) { //Move to next line if ($currentx != 0) { $this->x=$currentx; } else { $this->x=$this->lMargin; } } } else $this->x+=$w; } function applyGPOSpdf($txt, $aix, $x, $y, $OTLdata, $textvar=0 ) { // Generate PDF string //============================== if ((isset($this->CurrentFont['sip']) && $this->CurrentFont['sip']) || (isset($this->CurrentFont['smp']) && $this->CurrentFont['smp'])) { $sipset = true; } else { $sipset = false; } if ($textvar & FC_SMALLCAPS) { $smcaps = true; } // IF SmallCaps using transformation, NOT OTL else { $smcaps = false; } if ($sipset) { $fontid = $last_fontid = $original_fontid = $this->CurrentFont['subsetfontids'][0]; } else { $fontid = $last_fontid = $original_fontid = $this->CurrentFont['i']; } $SmallCapsON = false; // state: uppercase/not $lastSmallCapsON = false; // state: uppercase/not $last_fontsize = $fontsize = $this->FontSizePt; $last_fontstretch = $fontstretch = 100; $groupBreak = false; $unicode = $this->UTF8StringToArray($txt); $GPOSinfo = (isset($OTLdata['GPOSinfo']) ? $OTLdata['GPOSinfo'] : array()); $charspacing = ($this->charspacing * 1000 / $this->FontSizePt); $wordspacing = ($this->ws * 1000 / $this->FontSizePt); $XshiftBefore = 0; $XshiftAfter = 0; $lastYPlacement = 0; if ($sipset) { // mPDF 6 DELETED ******** // $txt= preg_replace('/'.preg_quote($this->aliasNbPg,'/').'/', chr(7), $txt); // ? Need to adjust OTL info // $txt= preg_replace('/'.preg_quote($this->aliasNbPgGp,'/').'/', chr(8), $txt); // ? Need to adjust OTL info $tj = '<'; } else { $tj = '('; } for($i=0;$i
Error message detected - PDF file generation aborted.
"; echo $e['message'].''; echo 'File: '.$e['file'].'
'; echo 'Line: '.$e['line'].'
'; exit; } } if (($this->PDFA || $this->PDFX) && $this->encrypted) { $this->Error("PDFA1-b or PDFX/1-a does not permit encryption of documents."); } if (count($this->PDFAXwarnings) && (($this->PDFA && !$this->PDFAauto) || ($this->PDFX && !$this->PDFXauto))) { if ($this->PDFA) { echo '
- ';
$this->PDFAXwarnings = array_unique($this->PDFAXwarnings);
foreach($this->PDFAXwarnings AS $w) {
echo '
- '.$w.' '; } echo '