Skip to content

Commit f1166dc

Browse files
author
Serguei Filitchonok
committed
Merge branch '25-8-tcpdf-font' into '2.2'
the font 'dejavusans' supporting cyrillic was added to the TCPDF library See merge request joomplace/memorials!54
2 parents 97b7d51 + 8b16adf commit f1166dc

File tree

7 files changed

+55
-0
lines changed

7 files changed

+55
-0
lines changed

com_joomportfolio/admin/controllers/items.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public function export()
7272
$pdf->SetMargins(PDF_MARGIN_LEFT, 5, PDF_MARGIN_RIGHT);
7373
$pdf->SetPrintHeader(false);
7474
$pdf->SetPrintFooter(false);
75+
$pdf->SetFont('dejavusans', '', 12, '', true);
7576

7677
for ($i = 0; $i < $count_cid; $i++) {
7778
$html = '';
Binary file not shown.

com_joomportfolio/admin/helpers/tcpdf/fonts/dejavusans.php

Lines changed: 27 additions & 0 deletions
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.

com_joomportfolio/admin/helpers/tcpdf/fonts/dejavusansb.php

Lines changed: 27 additions & 0 deletions
Large diffs are not rendered by default.
Binary file not shown.

0 commit comments

Comments
 (0)