[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Utility to generate font definition files fot TCPDF.
Author: | Nicola Asuni, Olivier Plathey, Steven Wittens |
Copyright: | 2004-2008 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com |
License: | http://www.gnu.org/copyleft/lesser.html LGPL |
File Size: | 610 lines (16 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
MakeFont($fontfile, $fmfile, $embedded=true, $enc='cp1252', $patch=array() X-Ref |
param: string $fontfile path to font file (TTF, OTF or PFB). param: string $fmfile font metrics file (UFM or AFM). param: boolean $embedded Set to false to not embed the font, true otherwise (default). param: string $enc Name of the encoding table to use. Omit this parameter for TrueType Unicode, OpenType Unicode and symbolic fonts like Symbol or ZapfDingBats. param: array $patch Optional modification of the encoding |
ReadMap($enc) X-Ref |
Read the specified encoding map. param: string $enc map name (see /enc/ folder for valid names). |
ReadUFM($file, &$cidtogidmap) X-Ref |
Read UFM file |
ReadAFM($file,&$map) X-Ref |
Read AFM file |
MakeFontDescriptor($fm, $symbolic=false) X-Ref |
No description |
MakeWidthArray($fm) X-Ref |
No description |
MakeFontEncoding($map) X-Ref |
No description |
SaveToFile($file, $s, $mode='t') X-Ref |
No description |
ReadShort($f) X-Ref |
No description |
ReadLong($f) X-Ref |
No description |
CheckTTF($file) X-Ref |
No description |
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |