[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: Re: [PHP] Write Japanese text into an existing PDF
From: tedd <tedd.sperling () gmail ! com>
Date: 2009-08-31 12:37:37
Message-ID: p06240801c6c172bebfc3 () [192 ! 168 ! 1 ! 102]
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic