bugfix auftrag PDF font list empty

This commit is contained in:
OpenXE 2025-01-13 10:49:01 +01:00
parent dd082c2476
commit 387c2c08f6

View File

@ -327,10 +327,12 @@ class SuperFPDF extends PDF_EPS {
}
$stack = "issetcolor";
}
if (isset($attr['FACE']) and in_array(strtolower($attr['FACE']), $this->fontlist)) {
if (isset($attr['FACE']) && isset($this->fontlist)) {
if (in_array(strtolower($attr['FACE']), $this->fontlist)) {
$this->SetFont(strtolower($attr['FACE']));
$stack = "issetfont";
}
}
break;
case 'SPAN':
if (isset($attr['STYLE']) and $attr['STYLE']!='') {