- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All Topicsi have invested days to try fpdf to generate pdf with chinese characters.
Of course ... FAILED!!!
ANY EXPERIENCED GUYS or GUYS with knowledge of fonts????
PLSSSSSSSS HELP!!!
regards,
Spud
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: SnocrashPosted on 2003-01-08 at 03:00:07ID: 7684854
Wow... didn't think this one would be so tough! I don't have much of an answer, but here's some info I came across while looking into the prob. Maybe it'll help in some way...
orial/tuto 7.htm
.net/downl oad.html
asn/develo per/pdfs/t n/5178.PFM .pdf
What needs to happen is the procedure explained here :
http://www.fpdf.org/en/tut
The first step in this tutorial is the key to getting it to work, and that is to obtain the AFM file of your font. For most fonts this is easy, except when it comes to CJK / CID fonts like Chinese.
There was only one TTF -> AFM converter I could find which could handle Chinese, this was the one mentioned in the tutorial and it can be found here :
http://ttf2pt1.sourceforge
There was only one problem, I could never get it to compile properly with the Chinese map files... plus the Windows binary they link to doesn't have them compiled in.
Another solution might be Macromedia's Fontographer or UniDoc's TrueKeys, as I read in some newsgroups that they both support the conversion. Thou this will cost ya $$$$.
In the tutorial, they also mention a tool which can convert a PFM file into an AFM one. Adobe has a perl script documented here that will build a PFM file from a CJK font :
http://partners.adobe.com/
I have yet to try it, but it might be promising. Besides going out and paying for PDFlib or buying some of the tools I mentioned, I haven't been able to find a solution.
If you manage to get past the AFM part, the rest should be a breeze and I can help ya with that if need be. Good luck with it all.
Cheers... Brian.