/
PDF: Asian characters not rendering correctly
PDF: Asian characters not rendering correctly
If you’ll find that some of asian (ie.: Japanese) characters are not rendered correctly in PDF output (ie,: appear as squares), this is likely caused by using font that does not support those characters. To fix this, install additional fonts to your HostBill PDF render engine.
To do so:
Download zip file above
Unzip its contents in
hbf/libs/mpdf/ttfonts
directory of your HostBill installIn your Document templates set new font to be used in document body, replace
font-family
at top of document (invoice) template html code fromArial
to"Arial","sun-exta"
So from:
<style type="text/css"> body { font-family: Arial; } </style>
to:
<style type="text/css">
body {
font-family: "Arial","sun-exta";
}
</style>
, multiple selections available,
Related content
Templates: Use custom fonts in PDF documents
Templates: Use custom fonts in PDF documents
More like this
Invoicing: Set custom header/footer in PDF invoice template
Invoicing: Set custom header/footer in PDF invoice template
More like this
Languages: Language accent characters aren't displayed
Languages: Language accent characters aren't displayed
More like this
Languages
Languages
More like this
Document templates
Document templates
More like this
SWISS QR Code
SWISS QR Code
More like this