isu73/tfpdf

This class is a modified version of FPDF that adds UTF-8 support with additional functions.

dev-main 2023-05-08 22:47 UTC

This package is auto-updated.

Last update: 2025-02-25 01:59:40 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)