Hello all friend , our country language have standard font and non-standard font so i can't add non-standard font from PDF ..PDF generate time that show square letter (can't read).
Plz help to me
now i already created language for non standard font zu . that all working but Pdf generate time don't work
so
i created prestashop/tools/tcpdf/fonts for zawgyi-one.z , zawgyi-one.php , zawgyi-one.ctg.z
(using website http://fonts.snm-portal.com/)
and
prestashop/override/classes/PDF/ for created PDFGenerator.php
using this code
<?php class PDFGenerator extends PDFGeneratorCore { public function __construct($use_cache = false, $orientation = 'P'){ // Override the font for your language $this->font_by_lang['zu'] = 'zawgyi-one'; parent::__construct($use_cache, $orientation); } }
and again changed
public_html/classes/pdf (PDFGenerator.php)
const DEFAULT_FONT = 'freeserif';
but still PDF invoice generate time don't working
Plz help to me