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,9 +327,11 @@ class SuperFPDF extends PDF_EPS {
} }
$stack = "issetcolor"; $stack = "issetcolor";
} }
if (isset($attr['FACE']) and in_array(strtolower($attr['FACE']), $this->fontlist)) { if (isset($attr['FACE']) && isset($this->fontlist)) {
$this->SetFont(strtolower($attr['FACE'])); if (in_array(strtolower($attr['FACE']), $this->fontlist)) {
$stack = "issetfont"; $this->SetFont(strtolower($attr['FACE']));
$stack = "issetfont";
}
} }
break; break;
case 'SPAN': case 'SPAN':