VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: stefanthorpe on January 05, 2013, 09:32:56 AM

Title: Chinese characters in PDF
Post by: stefanthorpe on January 05, 2013, 09:32:56 AM
I have VM installed on a UBUNTU 12.04 server, everything is working well apart from the Chinese characters in the PDF invoice that VM creates,  at the moment only question marks are showing.. How Do I get VM to show these characters?


Title: Re: Chinese characters in PDF
Post by: bytelord on January 06, 2013, 20:53:04 PM
Hello,

Virtuemart 2 uses tcpdf open source library for creating the PDF Invoices, you could use different fonts for that.

Please take a look over here: http://forum.virtuemart.net/index.php?topic=99783.0

I am suggesting you to use dejavu or freesans fonts that i have test them with chinese.

On version 2.2 i have implement some code on the backend so you could choose your prefered font that support utf-8 enconding, also you could install and tcpd fonts

Regards