We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7497796 + e604d56 commit d4a598fCopy full SHA for d4a598f
1 file changed
src/Html/State.php
@@ -75,7 +75,7 @@ public function PrintStyle()
75
// if($this->state->end_underline) {$span .= "text-decoration:none;";}
76
if($this->strike) $style .= "text-decoration:line-through;";
77
if($this->hidden) $style .= "display:none;";
78
- if(isset($this->font)) {
+ if(isset($this->font) && count( self::$fonttbl)>0) {
79
$font = self::$fonttbl[$this->font];
80
$style .= $font->toStyle();
81
}
@@ -125,4 +125,4 @@ public function equals($state)
125
126
return true;
127
128
-}
+}
0 commit comments