Page 1 of 1

New PDF project based upon TCPDF ?

Posted: Mon Sep 04, 2006 10:04 pm
by LuckyLuke
Hi,

I got some mails asking to make PurePDF UTF-8 Unicode compliant. I found a new extension of the FPDF lib having the following features :
- supports UTF-8 Unicode;
- includes methods to publish some xhtml code, supporting the following elements: h1, h2, h3, h4, h5, h6, b, u, i, a, img, p, br, strong, em, font, blockquote, li, ul, ol, hr, td, th, tr, table, sup, sub, small;
- includes a method to print various barcode formats using an improved version of "Generic Barcode Render Class" by Karim Mribti
- supports TrueTypeUnicode, TrueType, Type1 and encoding;

Who is willing to help me with this conversion from PHP to PureBasic ?
(I don't have much time for the moment to do some PureBasic stuff :( )

The TCPDF class can be found here

Posted: Tue Sep 05, 2006 9:29 am
by Num3
Sounds interesting!
I'll take a look and see if i can give a hand.

Posted: Tue Sep 05, 2006 2:49 pm
by LuckyLuke
Thanks Num3 :D

Posted: Thu Sep 07, 2006 5:00 pm
by Flype
as you know i use a lot FPDF with purebasic.

i converted for my own use your PurePDF to PB4 cause i need it every day at work.

bar code support is also very useful for me.

maybe i can do something.

but the best update i wanted to have is
OOP designed code for FPDF just like in PHP.

i mean something like this :

doc.FPDF = FPDF()
doc\Cell()
doc\Free()

rather than pdf_Cell(), pdf_Free().

once it's done, then it should easier to convert from php to pb.