Current Time in California
as Dynamic PDF
The Home of
ClibPDF & TIFF2PDF
December 12, 1999: ClibPDF ver.
ANSI C Library for Direct PDF
What is ClibPDF ?
ClibPDF is a library of ANSI C functions, distributed as source code,
for creating PDF files directly via C language programs without
relying on any Adobe Acrobat(R) tools and related products. It is free
for private, non-profit use, but a commercial license is required for for-profit
applications (Please see FastIO ClibPDF License
for details or a Digest Version -- License
in Japanese). The library is suitable for creating fast dynamic
PDF Web pages in response to user input and from dynamic data sources,
and also for implementing publication-quality graph plotting, report or
form generation. Since there is minimal platform-specific code, it
is ideal as cross-platform graphing solutions with minimal developement
efforts. Generated PDF files may be viewed and printed by auto-launching
Acrobat(R) Reader or any other PDF viewer available free for many platforms.
Note that ClibPDF is for PDF file creation only. It has no support for
reading or modifying existing PDF files.
[Nearly everything on our web site requires Acrobat(R) Reader.]
Notable Features of ClibPDF
NEW - Thread-Safe. Creates
multiple PDF documents simultaneously.
NEW - Unicode and Asian Font
Support -- Chinese, Japanese, and Korean fonts.
Most basic PDF drawing primitives are supported, plus arc
Columnar text formatting with chaining of columns/text
Aligned text: left-, right-, top-,
bottom-, and center-aligned string in both horizontal and vertical dimensions.
Image import, drawing on top of images, in-line images.
48 built-in fonts including 39
Roman, 2 symbol, and 7 Asian language fonts (each with 4 styles).
PS/ATM Type-1 font embedding from PFM/PFB files (e.g. bar
Plot domains (linear, semi-log, log-log)
with mesh to give graph paper appearance.
Axes (linear, log, date) with flexible tick marks, numbering, and labelling.
Markers, pointers, error bars for marking
Multi-page documents may be generated in any page order, and pages may
be written to in an interleaved manner.
Multi-level outline (book marks).
Hyper-text links, annotations.
In-memory PDF generation (no temporary files; direct web-serving and getting
the Content-Length: value is trivially simple).
Transition, timed slide show support.
Viewer preference control (e.g., have book mark view upon document open).
Support for Flate/Zlib
compression for fast web download (We do NOT use LZW algorithm in
any part of our software.)
Fast, light-weight CGI for dynamic PDF web page generation.
Automatic generation of customized financial, performance reports directly
Report generation in medical, scientific, and industrial test equipment
(and plots may be used directly in publications via, e.g., Adobe Illustrator(R)
On-line maps that are not ugly when printed.
Convert legacy documents (e.g., parts list, service/maintenance/procedural
manuals, architectural/engineering drawings, SEC/Edgar filings) into electronic
format with ease of access via outlines (book marks).
Giving legacy console-type applications an attractive graphic output via
auto-launched Arobat(R) Reader (or any PDF viewer).
Cross-platform graphing solutions.
A unified imaging model for X-Window applications for beautiful screen
and printed output (no more ugly screen dumps). This eases the pain
of the death of DPS (Display PostScript).
See how other users have applied ClibPDF in their applications (hints !)
How does it work?
Current Product Versions
-- find out if a new version is ready
ClibPDF Version 2.02-r1-1 (1999-12-12)
-- Unicode, CJK Font & Multi-threading
Unicode annotations and bookmarks. Chinese, Japanese, and Korean
language support -- 7 base fonts (each with 4 styles for a total of 28
CJK font styles). Bug fixes that solve excessive use of memory by
TIFF2PDF type application with thousands of pages of images.
ClibPDF Library Source Code + Everything (2.02-r1-1, ~900kB)
ClibPDF API Reference Manual (v2.01-r2-7) [PDF
(also in the above package)]
Verson 2.02 Addendum to Reference Manual [PDF
(also in the above package)]
Release README file.
Linux RPM files (v2.02r1-0)
ClibPDF Version 1.10-7e (1999-06-10) -- Old API
TIFF2PDF Version 1.14 (1999-12-14)
ClibPDF Library Source Code + Everything (1.10-7e, ~800kB)
ClibPDF API Reference Manual (v1.10) [PDF
(also in the above package)]
Manual Addendum (v1.10 to v1.10-7e) [ PDF
|| PostScript ]
Windows stdout output bug fix --
for the fix (Sep. 20, 1999; not included in the Everything package)
Now Multi-page! TIFF2PDF -- TIFF
image to PDF converter (binary only)
ClibPDF is highly platform-independent. It can be made to compile
on just about any platform with little effort. This is especially
true for most Unix variants. Please note that we are unable to answer
questions regarding installing and compiling ClibPDF on a given platform.
For your information, ClibPDF has been tested on the following platforms
(the list will grow over time):
BSDI BSD/OS 3.1 (gcc 220.127.116.11)
FreeBSD 2.2.8-STABLE (gcc 18.104.22.168)
Linux 2.0.34 (Red
Hat 5.2, 6.x, 7) (gcc 22.214.171.124)
NEXTSTEP 3.2, 3.3, OPENSTEP
MacOS X Server 1.1
MacOS X (10.0.x) (should also work with Darwin)
SGI IRIX 6.2 (gcc 2.8.1) -- Thanks
to Matt Warner.
SunOS 5.4 (C-4.0)
Sun Solaris 7 (gcc 2.95.1
and Sun CC)
MacOS 8.x/9.0 (Metrowerks
IDE 3.2/CWPro 4) -- README.MacOS8
Windows 95/98/NT(4.0 SP3/SP4)/2000 (VC++ 6.0) -- README.win32
Cygwin b20.1 (gcc
egcs-2.91.57) -- port
by Stipe Tolj
Amiga WarpUP PPC
library by Steffen Haeuser
PDFzone -- a great resource and starting point for anything PDF
PlanetPDF -- another great PDF resource, CodeCuts,
Acrobat(R) SDK -- If you must edit or manipulate existing PDF files,
and are a voracious reader of programming documentation.
Tech Notes for Developers -- many useful documents
PDF Reference 2-nd Edition, v. 1.3 (Jul. 3, 2000)
-- The official PDF file format specification
PDF specification changes from V. 1.3 to 1.4 (Apr. 2, 2001)
-- spec. delta from 1.3 to 1.4
PHP Interface to
ClibPDF (manual) -- server-side HTML-embedded scripting language (Replace
VTeX -- Another great non-Adobe
way to produce PDF directly with math and scalable fonts
(including Asian fonts), and complex automated formatting.
Xpdf - (PDF viewer for X Window;
with C++ source code)
Luc Devroye's amazing collection of PDF,
Japanese PDF file samples - PDF
Link Collection by K. Hirota
CGIHTML - CGI library
for C. It works well with ClibPDF.
ADOBE and ACROBAT are registered trademarks of Adobe Systems Incorporated.
[ Copyright (C) 1998-2002 FastIO Systems, All Rights Reserved,
Last updated: April 8, 2002.
FastIO, ClibPDF, JlibPDF, TIFF2PDF are trademarks of FastIO