Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

PDFGen

> 编程语言
Open source

Simple C PDF Writer/Generation library

630 stars0 likes0 views
WebsiteGitHub

About

Simple C PDF Writer/Generation library

PDFGen

Simple C PDF Creation/Generation library. All contained in a single C-file with header and no external library dependencies.

Useful for embedding into other programs that require rudimentary PDF output.

Supports the following PDF features

  • Text of various fonts/sizes/colours/rotation (including TrueType Fonts)
  • Primitive drawing elements
    • Lines
    • Rectangles
    • Filled Rectangles
    • Polygons
    • Filled Polygons
    • Bezier curves
    • Circles / Ellipses
    • Custom Paths
  • Bookmarks / Links
  • Barcodes
    • Code-128A
    • Code-39
    • EAN-13
    • UPC-A
    • EAN-8
    • UPC-E
    • QR codes
  • Embedded images
    • PPM/PGM/PBM (binary & ASCII formats)
    • JPEG
    • PNG (Alpha Channels are not supported)
    • BMP
  • Password protected/encrypted output (RC4 40-bit)

Example usage

…

License

The source here is public domain. If you find it useful, please drop me a line at [email protected].

Builds

Build status:

Code Coverage:

Coverity scan:

Static Analysis

This is a code base that I use to test static analysis tools. As such the build system is quite a bit more complex than should be necessary for a project of this size.

Language Bindings

  • RingPDFGen

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Ccpdfpdf-documentpdf-generation

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言