Skip to content

Commit

Permalink
Merge branch '25-8-tcpdf-font' into '2.2'
Browse files Browse the repository at this point in the history
the font 'dejavusans' supporting cyrillic was added to the TCPDF library

See merge request joomplace/memorials!54
  • Loading branch information
Serguei Filitchonok committed May 27, 2022
2 parents 97b7d51 + 8b16adf commit f1166dc
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions com_joomportfolio/admin/controllers/items.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public function export()
$pdf->SetMargins(PDF_MARGIN_LEFT, 5, PDF_MARGIN_RIGHT);
$pdf->SetPrintHeader(false);
$pdf->SetPrintFooter(false);
$pdf->SetFont('dejavusans', '', 12, '', true);

for ($i = 0; $i < $count_cid; $i++) {
$html = '';
Expand Down
Binary file not shown.
27 changes: 27 additions & 0 deletions com_joomportfolio/admin/helpers/tcpdf/fonts/dejavusans.php

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
27 changes: 27 additions & 0 deletions com_joomportfolio/admin/helpers/tcpdf/fonts/dejavusansb.php

Large diffs are not rendered by default.

Binary file not shown.

0 comments on commit f1166dc

Please sign in to comment.