You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Chinese characters in PDF

Started by stefanthorpe, January 05, 2013, 09:32:56 AM

Previous topic - Next topic


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?



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:

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

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!