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
I used DOMPDF library and now I have problem with content with unicode language.
Share
.ttfformat with characters that support your given language.afmfile for DOMPDF:cdinto the directory which containsload_font.php, then runphp load_font.php FontName /path/to/font.ttfdompdf/lib/fonts. If you’ve done this before, add relevant lines todompdf_font_family_cache, otherwise simply rename thedompdf_font_family_cache.sampletodompdf_font_family_cacheEnable DOMPDF’s Unicode mode, by making sure the line
is set in
dompdf_config.inc.php. If it readsfalseinstead oftrue, change that.