News:

Support the VirtueMart project and become a member

Main Menu

change encoding for pdf print

Started by t_zaharia, January 07, 2013, 10:34:04 AM

Previous topic - Next topic

t_zaharia

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

bytelord

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
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!

t_zaharia