fcl-pdf getting started tutorial
The fcl-pdf package contains a PDF generating unit fppdf that does not depend on any external libraries.
The PDF generator has the following features:
- Support for basic shapes.
- Support for basic line styles.
- Dictionary support.
- Multi-page PDF.
- Image support.
- TTF Font support.
- Font embedding (whole font embedding and subset support).
- Unicode font support.
- Stream Compression.
- Image embedding.
- Several paper types.
- Portrait/Landscape.
- Support for multiple units.
- Rotation matrix system.
- PDF creator information.
- Output validates by several PDF validators.
Example Usage
Please take a look at the fcl-pdf/examples/testfppdf.lpr project included with FPC's source code. It was purposely designed to help explain how to use the fcl-pdf package. Each page of that demo is defined in a separate method to help remove clutter, and explain the usage and functionality in smaller chucks of code.
From the Free Pascal wiki, page "fcl-pdf getting started tutorial", as the Internet Archive kept it on 2020-08-09, last changed on 2018-03-07. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.