Quote:
Originally Posted by Anybody
I want to export chinese words, but none of them are beeing shown in the pdf-document.
The reason is, that the included font-types don't support those special chars.
ZF-Version is 1.5 RC1
|
First, I recommend upgrading to the final 1.5 release. 1.5.1 is almost upon us, and it will pay to be up to date on this branch.
If you haven't seen this, check out the Zend_PDF part of the docs where it talks about fonts:
Zend Framework: Documentation
You can use any font you want, provided you stay with in the supported font types (TTF Type 1 is the most universal).
If you know of a font that falls within the guidelines on the docs, and that you have available to you - just copy it to your project, and provide the full path to it when you call Zend_Pdf_Font::fontWithPath()
HTH