From: Rafael C. <raf...@gm...> - 2015-02-11 03:38:43
|
HI Phil, Thank you for your answer. Topic 1: From R&OS -> FPDF -> TCPDF. For future pdf development, I think it will be better to directly use TCPDF: (a) Y-coordinate= instead of calculating as from page-bottom to cell-bottom and the script class.pdf.php translates to page-top to cell-top to use tcpdf.php, we can directly use page-top to cell-top and TCPDF; (b) TCPDF has interesting functions (writeHTML, writeHTMLCell, etc.) to write code html (a screen report) into a pdf. Topic 2: tcpdf 6.2.6 has new fonts and others.They may be helpful to give more options to reports. Topic 3: With PrintCustTransPortrait.php (and other reports) I have unexpected breaks (see enclose) and prints lines with whitespace. The problems are inside AddTextWarp(). Regards, Rafael. 2015-02-09 22:34 GMT-06:00 Phil Daintree <ph...@lo...>: > Yes originally used R & OS pdf library. > Moved to Oliver Plathey FPDF http://www.fpdf.org/ > The class.pdf.php was created to allow the transition to FPDF > ... then to TCPDF which was a development of FPDF which allowed utf-8 > pdfs - using CID fonts rather than embedding a large monster font file into > each pdf - so a small 10k report becomes 2 Meg. This was not considered > acceptable. > I update tcpdf from time to time. > > Not sure about 3. > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz > > On 10/02/15 13:37, Rafael Chacón wrote: > > Hi, > > Some questions: > > 1. webERP begun using PHP Pdf creation - R&OS ( > http://sourceforge.net/projects/pdf-php/). Then, webERP moved to TCPDF ( > http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote > ~/includes/class.pdf.php to use TCPDF with "PHP_Pdf_creation_-_R&OS syntax" > (old code). Is it right? > > 2. Someone has updated the ~/includes/tcpdf folder with TCPDF version > 6.2.6 ? > > 3. Someone has replaced the function AddTextWarp() or has problem with > this function (last line line-feeded before the end) ? > > Best regards, Rafael. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |