now I changed this file: modules\AOS_PDF_Templates\PDF_Lib\config.php
$this->useAdobeCJK = false;
I changed it to:
$this->useAdobeCJK = True;
then Quick Repair and Rebuild in Admin module, log out, login, now the pdf file display normally.
Any questions if I modified the file? and is it a Bug?
Step 1ļ¼
I update the font file to /vendor/tecnickcom/tcpdf/fonts .
below:
droidsansfallback.ctg.z
droidsansfallback.php
droidsansfallback.z
Step 2:
and edit file: /vendor/tecnickcom/tcpdf/tcpdf.php
in tcpdf.php
find below codeļ¼
public function setFont($family, $style=āā, $size=null, $fontfile=āā, $subset=ādefaultā, $out=true) {
//Select a font; size given in points
if ($size === null) {
$size = $this->FontSizePt;
}
after it add below:
$family = 'droidsansfallback ';