libHaru is a library for generating PDF files.
It can work as both a static-library (.a, .lib) and a shared-library (.so, .dll).
libHaru is free and open source software.
Key Features
- Generating PDF files with lines, text, images.
- Outline, text annotation, link annotation.
- Compressing document with deflate-decode.
- Embedding PNG, Jpeg images.
- Embedding Type1 font and TrueType font.
- Creating encrypted PDF files.
- Using various character sets (ISO8859-1~16, MSCP1250~8, KOI8-R).
- Supporting CJK fonts and encodings. You can add the feature of PDF creation by using HARU without understanding complicated internal structure of PDF. libHaru is written in ANSI C, so theoretically it supports most of the modern OSes.
- Provides bindings for Ruby, Delphi/Free Pascal, and C#.
Website: libharu.org
Support: Documentation, GitHub Code Repository
Developer: Antony Dovgal and contributors
License: zlib License
libHaru is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| PDF Development Libraries | |
|---|---|
| PDFBox | Create, render, print, split, merge, alter, verify and extract text and metadata |
| TCPDF | PHP class for generating PDF documents |
| PyMuPDF | Fast Python toolkit for document extraction and editing |
| Poppler | Library for rendering PDF files, and examining or modifying their structure |
| PDFKit | PDF document generation library for Node and the browser |
| jsPDF | JavaScript toolkit for creating documents in web applications |
| pdfcpu | PDF processing library |
| Apache FOP | Print formatter driven by XSL formatting objects |
| WeasyPrint | Rendering engine that turns HTML and CSS into print-ready documents |
| pypdf | Pure Python toolkit for reading, splitting and merging documents |
| QPDF | Library and programs that inspect and manipulate the structure of PDF files |
| PoDoFo | Parse PDF files and modify their contents into memory |
| OpenPDF | Library for creating and editing PDF files; fork of iText |
| xhtml2pdf | HTML to PDF converter using Python |
| Dompdf | PHP tool that converts HTML and CSS into formatted documents |
| libHaru | Library for generating PDFs |
| pikepdf | Python toolkit for inspecting and modifying document files |
| PdfPig | .NET toolkit for extracting text, words and document content |
| gopdf | Go toolkit for generating documents with text, images and graphics |
| CapyPDF | Fully color managed PDF generation library |
| pdf-lib | Create and modify PDF documents in a JavaScript environment |
| PDFio | PDF read/write library |
| fpdf2 | Python toolkit for creating richly formatted documents |
| PDFsharp | .NET library for processing PDF files |
| JasperReports | Reporting engine written in Java |
| CamlPDF | OCaml library for reading, writing and modifying PDF files |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.