Setasign / FPDI

FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF.
https://www.setasign.com/fpdi
MIT License
1.09k stars 159 forks source link

Cyrillic does not work. #125

Closed slugaboga closed 3 years ago

slugaboga commented 3 years ago

Hi guys! Please tell me how to add support for the Cyrillic alphabet?

JanSlabon commented 3 years ago

Hi!

FPDI allows you to import pages of existing PDF documents for various PDF generation libaries such as FPDF, tFPDF, mPDF or TCPDF. You should simply choose one that supports Cyrillic and fits your needs. FPDI has nothing to do with support of languages or character sets.

Abylaikhan commented 10 months ago

use tfpdf, not fpdf extension with code below:

$pdf->AddFont('DejaVu','','DejaVuSansCondensed.ttf',true);
$pdf->SetFont('DejaVu','',8);