Ego.PDF

Description

  • This is an automated port of FPF for PHP. Some parts have been recoded but many others are still as given.
  • This is not a full fledged tool, but instead if is intendend to be used as last resource. If everything else fails or is too heavy and you have some time to spend, then, maybe this is for you.
  • Should you use it? Probably not. Its mantained just for fun. But if you like the DIY approach, then maybe it will suit you.

Tutorial

Currently, Ego.PDF status is work in progress. Fist milestone is recreate all samples in FPDF tutorial.

Original FPDF sample Ego.PDF implementation & variations
Sample 1. Minimal example Tutorial 1 Tutorial 1
Sample 2. Header, footer, page break and image Tutorial 2 Tutorial 2 (png image)
Tutorial 2 (png image with alpha channel) Tutorial 2 (jpg image)
Sample 3. Line breaks and colors Tutorial 3 Tutorial 3
Sample 4. Multi-columns Tutorial 4 Tutorial 4
Sample 5. Tables Tutorial 5 Tutorial 5
Sample 6. Links and flowing text Tutorial 6 Tutorial 6
Sample 7. Adding new fonts and encoding support Tutorial 7 Tutorial 7. The font reader/parser is not implemented yet.

New samples

New sample Implementation
Sample 1. Tutorial 8. Invoice Invoice