Re: Write Japanese text into an existing PDF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 5:18 PM +0900 8/31/09, Dave M G wrote:
PHP List,

I am looking for a way I can create a PDF file by overlaying text onto
an existing PDF document.

I have found three open source script sets that seem to do that, but I
can't figure out exactly how they inter-relate. They are TCPDF, FPDI,
and FPDF.

From what I can tell, FPDI (which runs on top of FPDF) can overlay text
onto another PDF, but I can't get any examples to work, so I am unsure
of its stability. Also, I need to output Japanese text, and the
documentation indicates it only supports Latin based fonts.

TCPDF seems more fully featured and promises multilingual support. But
for the life of me I can't find any single example of whether or not it
can take an existing PDF and write text over top.

Surely this is possible and has been done to death before.

Can anyone direct me to a tutorial or sample script that I can use in
order to set up this PDF generation script?

Thank you for any advice.

-- Dave M G

Dave:

I used the PDFB library to create this:

http://webbytedd.com/bb/pdf/

Here's a link for more information:

http://chir.ag/projects/pdfb/

While I've never used Japanese text, I think as long as you have a font for it, it should work.

Good luck.

tedd



--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux