I used DOMPDF library and now I have problem with content with unicode language. and I found this one dompdf help but I don't understand about this. can anyone tell the detail of this? thanks
.ttf format with characters that support your given language.afm file for DOMPDF:
cd into the directory which contains load_font.php, then run php load_font.php FontName /path/to/font.ttf
dompdf/lib/fonts. If you've done this before, add relevant lines to dompdf_font_family_cache, otherwise simply rename the dompdf_font_family_cache.sample to dompdf_font_family_cache
Enable DOMPDF's Unicode mode, by making sure the line
define("DOMPDF_UNICODE_ENABLED", true);
is set in dompdf_config.inc.php. If it reads false instead of true, change that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With