mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-28 13:21:14 +01:00
bugfix auftrag PDF font list empty
This commit is contained in:
parent
dd082c2476
commit
387c2c08f6
@ -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']!='') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user