mirror of
https://github.com/moodle/moodle.git
synced 2025-02-24 12:03:12 +01:00
70 lines
2.4 KiB
Plaintext
70 lines
2.4 KiB
Plaintext
|
|
||
|
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
|
||
|
============================================================
|