altocompta/doc/tfpdf
Dany De Bontridder dabe37bf51 Merged revisions 3315-3327 via svnmerge from
file:///home/developper/svn/phpcompta/branches/rel510

........
  r3316 | danydb | 2010-06-18 20:20:11 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Add the receipt number for the CBC_OL
........
  r3317 | danydb | 2010-06-18 20:37:49 +0200 (Fri, 18 Jun 2010) | 1 line
  
  truncate the table import_tmp 
........
  r3318 | danydb | 2010-06-18 20:48:49 +0200 (Fri, 18 Jun 2010) | 2 lines
  
  Typo
........
  r3319 | danydb | 2010-06-18 21:54:58 +0200 (Fri, 18 Jun 2010) | 2 lines
  
  typo
........
  r3323 | danydb | 2010-06-19 12:59:28 +0200 (Sat, 19 Jun 2010) | 1 line
  
  Card ordered by name
........
  r3324 | danydb | 2010-06-19 13:12:36 +0200 (Sat, 19 Jun 2010) | 1 line
  
  Card ordered by name, add SQL script
........
  r3325 | danydb | 2010-06-19 13:21:11 +0200 (Sat, 19 Jun 2010) | 2 lines
  
  Bug sql order when not unlimited size
........
  r3326 | danydb | 2010-06-19 21:03:49 +0200 (Sat, 19 Jun 2010) | 1 line
  
  Fix bug in the verification of BILAN
........
  r3327 | danydb | 2010-06-20 21:52:57 +0200 (Sun, 20 Jun 2010) | 1 line
  
  Update PDF class to TFPDF
........
2010-06-21 12:15:47 +00:00
..
ex.pdf Merged revisions 3315-3327 via svnmerge from 2010-06-21 12:15:47 +00:00
ex.php Merged revisions 3315-3327 via svnmerge from 2010-06-21 12:15:47 +00:00
HelloWorld.txt Merged revisions 3315-3327 via svnmerge from 2010-06-21 12:15:47 +00:00
info.htm Merged revisions 3315-3327 via svnmerge from 2010-06-21 12:15:47 +00:00
README.txt Merged revisions 3315-3327 via svnmerge from 2010-06-21 12:15:47 +00:00

tFPDF accepts UTF-8 encoded text. It embeds font subsets allowing small PDF files.

It requires a folder 'unifont' as a subfolder of the 'font' folder.

You should make the 'unifont' folder writeable (CHMOD 755 or 644). Although this
is not essential, it allows caching of the font metrics the first time a font is used,
making subsequent uses much faster.

All tFPDF requires is a .ttf TrueType font file. The file should be placed in the
'unifont' directory. Optionally, you can also define the path to your system fonts e.g. 'C:\Windows\Font'
(see the example ex.php file) and reference TrueType fonts in this directory.

Pass a fourth parameter as true when calling AddFont(), and use utf-8 encoded text 
when using Write() etc.