VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: t_zaharia on January 07, 2013, 10:34:04 AM

Title: change encoding for pdf print
Post by: t_zaharia on January 07, 2013, 10:34:04 AM
Hello there :)

I want to change the encoding of pdf print so as to be able to "understand" greek.

I found the following solution:

"
look for :
$pdf->WriteHTML($html);

and replace by something like :
$pdf->WriteHTML(utf8_decode($html)); "

but I cannot fing this piece of code in vm 2....

Can anybody help?

Thanks in advance,
Theoni
Title: Re: change encoding for pdf print
Post by: bytelord on January 07, 2013, 11:28:33 AM
Hello,

On the FAQ you will find it exactly: http://forum.virtuemart.net/index.php?topic=99783.0
Also  http://forum.virtuemart.net/index.php?topic=99347.0

In version 2.2 (will be the next release) you will be able to select your font or install other fonts that support unicode utf-8 fonts...

Regards
Title: Re: change encoding for pdf print
Post by: t_zaharia on January 08, 2013, 14:54:10 PM
Thank you very much  :)