com-tecnick-tcpdf
[ class tree: com-tecnick-tcpdf ] [ index: com-tecnick-tcpdf ] [ all elements ]

Procedural File: makefont.php

Source Location: /PHPExcel/Shared/PDF/fonts/utils/makefont.php



Page Details:

Utility to generate font definition files fot TCPDF.



Tags:

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
link:  http://www.tcpdf.org
license:  LGPL








CheckTTF [line 550]

void CheckTTF( $file)



Parameters

   $file  
[ Top ]



MakeFont [line 60]

void MakeFont( string $fontfile, string $fmfile, [boolean $embedded = true], [string $enc = 'cp1252'], [array $patch = array()])



Parameters

string   $fontfile   path to font file (TTF, OTF or PFB).
string   $fmfile   font metrics file (UFM or AFM).
boolean   $embedded   Set to false to not embed the font, true otherwise (default).
string   $enc   Name of the encoding table to use. Omit this parameter for TrueType Unicode, OpenType Unicode and symbolic fonts like Symbol or ZapfDingBats.
array   $patch   Optional modification of the encoding
[ Top ]



MakeFontDescriptor [line 441]

void MakeFontDescriptor( $fm, [ $symbolic = false])



Parameters

   $fm  
   $symbolic  
[ Top ]



MakeFontEncoding [line 514]

void MakeFontEncoding( $map)



Parameters

   $map  
[ Top ]



MakeWidthArray [line 498]

void MakeWidthArray( $fm)



Parameters

   $fm  
[ Top ]



ReadAFM [line 315]

void ReadAFM( $file, &$map)

Read AFM file



Parameters

   $file  
   &$map  
[ Top ]



ReadLong [line 545]

void ReadLong( $f)



Parameters

   $f  
[ Top ]



ReadMap [line 213]

void ReadMap( string $enc)

Read the specified encoding map.



Parameters

string   $enc   map name (see /enc/ folder for valid names).
[ Top ]



ReadShort [line 540]

void ReadShort( $f)



Parameters

   $f  
[ Top ]



ReadUFM [line 240]

void ReadUFM( $file, &$cidtogidmap)

Read UFM file



Parameters

   $file  
   &$cidtogidmap  
[ Top ]



SaveToFile [line 531]

void SaveToFile( $file, $s, [ $mode = 't'])



Parameters

   $file  
   $s  
   $mode  
[ Top ]



Documentation generated on Sat, 19 May 2012 14:37:55 +0200 by phpDocumentor 1.4.4