Forums / General / pdf export with vietnamese language
Nguyen Tien Hy
Monday 07 November 2005 6:09:18 am
Dear all, I setup my site with vietnamese language (unicode utf-8).I try to export pdf file (like /content/pdf/<node_id>). The font appearance is not correct. I cannot read vietnamese letters.
Ćukasz Serwatka
Monday 21 November 2005 1:06:48 am
Hi,
Probadly you will need correct fonts (with vietnamese charset support).
To make fonts work you should: - put xxx.ttf and php_xxx.font into 'lib/ezpdf/classes/fonts' - override 'node/view/pdf.tpl - the first line in your 'pdf.tpl' should be:{pdf(set_font, hash( name, "XXX" ) )}
Look also on:
http://ez.no/products/ez_publish_cms/documentation/incoming/truetype_font_in_pdf
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog