View Single Post
  #6 (permalink)  
Old 05-23-2008, 03:58 AM
yihongchen yihongchen is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Smile chinese font question

Quote:
Originally Posted by xentek View Post
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
HI, xentek!
I've got a question about chinese word too!

When I use Zend_Pdf_Font::fontWithPath('www/fonts/my-special-font.ttf') to embed chinese font into Pdf-document,
it can normally shown , but the File-size become very big.

Any way can I subset embed or don't embed , but let my char normally output ?
Reply With Quote