isu73 / tfpdf
This class is a modified version of FPDF that adds UTF-8 support with additional functions.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/isu73/tfpdf
Requires
- ext-gd: *
- ext-zlib: *
This package is auto-updated.
Last update: 2025-09-25 03:13:21 UTC
README
The original code is available at http://fpdf.org/en/script/script92.php
This class is a modified version of FPDF that adds UTF-8 support with additional functions.
Arial and Times New Roman True Type fonts were added to "unifont" folder.
You can add more fonts, True Type only.
$pdf->AddFont('arial','','arial.ttf',true);
$pdf->AddFont('times','','times.ttf',true);
Additional functions:
GetMultiCellHeight (border, fill variable not needed
$pdf->GetMultiCellHeight($w, $h, $txt, $align)
MultiCellWithOffset(offset cell left/right)
MultiCellWithOffset($w, $h, $txt, $border, $align, $loffset, $roffset, $fill)
CellWithPadding(padding left/right)
CellWithPadding($w, $h, $txt, $border, $ln, $align, $lpadding, $rpadding, $fill, $link)