Re: Re: Does anyone here use TCPDF?
| From: | Ralph Deffke | Date: | Thu, 24 Sep 2009 08:08:03 +0000 |
| Subject: | Re: Re: Does anyone here use TCPDF? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298308@lists.php.net to get a copy of this message | ||
Hi Dave,
if its the case u could do a good deal, why u don't climp urself into the
pdf format? It is nothing else then a presentation format, not magic,
complicated and huge yes, but at the end just a text file. I am not that pdf
specialist, but I know at least for the older pdf formats the enconding is
open and well documented. I have a book on my shelf called 'pdf bible' an it
explains the pdf byte code.
Another idea would be to contact all the companies creating these pdf
converters (html pdf, word-pdf, pdf-word) they should be able to tell u the
answer.
And even may be there is a programm u could use in a OS batch process to put
ur text in.
At least just contact Adobe and ask them how to do it, u might get an
answer.
sorry thats all I have coming up in my mind for now.
ralph_deffke@yahoo.de
"Dave M G" <martin@autotelic.com> wrote in message
news:4ABB1E10.9070207@autotelic.com...
> Ralph, Paul,
>
> Thank you for responding.
>
> > I don't use TCPDF; I use FPDF, but I imagine the drill is about the same
> >
> I tried using FPDF, but it did not support UTF-8/Japanese. It claims
> some support in the documentation, but after much experimentation, I
> verified it does not. That is why I switched to TCPDF.
>
> > What you're asking sounds like you want to *edit* an existing PDF via a
> > PHP class,
>
> No, I just want to write on top of it. And that was possible with
> FPDI/FPDF, but I had to abandon those as they did not support Japanese.
>
> I attempted to use the same functions as FPDI/FPDF, but they did not
> work in TCPDF.
>
> > have a look in the archive of this list. there is a topic "writing
japanese
> > test in an excisting pdf" its of 31. of August, this should help
> >
>
> That was a thread I started. Things have changed slightly since I now
> know that only TCPDF supports Japanese.
>
> So I still need to know if/how to write text into a PDF, like I did with
> FPDF, but with TCPDF instead.
>
> If this turns out to not be possible, I am going to be suffering a great
> deal.
>
> --
> Dave M G