Skip to content

Commit

Permalink
allow arial as font although unicode is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
rubo77 committed Jul 19, 2024
1 parent 951eabf commit f6d0962
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tcpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -4281,9 +4281,6 @@ public function AddFont($family, $style='', $fontfile='', $subset='default') {
}
// normalize family name
$family = strtolower($family);
if ((!$this->isunicode) AND ($family == 'arial')) {
$family = 'helvetica';
}
if (($family == 'symbol') OR ($family == 'zapfdingbats')) {
$style = '';
}
Expand Down

0 comments on commit f6d0962

Please sign in to comment.