Skip to content

Commit

Permalink
TCPDF pdf library
Browse files Browse the repository at this point in the history
  • Loading branch information
vyshane committed Sep 4, 2006
1 parent 713b20f commit b331040
Show file tree
Hide file tree
Showing 51 changed files with 8,398 additions and 0 deletions.
70 changes: 70 additions & 0 deletions lib/tcpdf/README.TXT
@@ -0,0 +1,70 @@

This is a trimmed down distribution of TCPDF, tailored for Moodle. The API
and code are the same. However, extra fonts and font-convertion utilities have
been removed to keep the Moodle download size to a minimum.

Following is the original TCPDF README.



TCPDF - README
============================================================

Name:
TCPDF

Version:
1.53.0.TC023_PHP4

Release date:
2006-08-05

Author:
Nicola Asuni

Copyright (c) 2001-2006:
Tecnick.com S.r.l.
Via Ugo Foscolo n.19
09045 Quartu Sant'Elena (CA)
ITALY
www.tecnick.com

URLs:
http://tcpdf.sourceforge.net/
http://tcpdf.sf.net/

Description:
TCPDF is a PHP4 class for generating PDF files on-the-fly without requiring external extensions.
TCPDF is an extension and improvement of the FPDF class by Olivier Plathey (http://www.fpdf.org).

Main Features:

- supports all ISO page formats;
- 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 (http://www.mribti.com/barcode/) (require GD library: http://www.boutell.com/gd/)
- supports TrueTypeUnicode, TrueType, Type1 and encoding;
- supports custom page formats, margins and units of measure;
- includes methods for page header and footer management;
- supports automatic page break;
- supports automatic page numbering;
- supports automatic line break and text justification;
- supports JPEG and PNG images;
- supports colors;
- supports links;
- support page compression (require zlib extension: http://www.gzip.org/zlib/);
- the source code is full documented in PhpDocumentor Style (http://www.phpdoc.org).

Installation:
1. copy the folder on your Web server
2. set your installation path on the config/tcpdf_config.php
3. call the test_unicode.php page with your browser to see an example
NOTE: the test_old.php require proper font setup on tcpdf_config.

Source Code Documentation:
doc/index.html

License
GNU LESSER GENERAL PUBLIC LICENSE v.2.1
http://www.gnu.org/copyleft/lesser.html
============================================================

0 comments on commit b331040

Please sign in to comment.