libHaru

Stable release|

2.4.4 / 2023-09-18

Preview release|

2.4.2 / 2022-11-09

Written in| ANSI C
Operating system| Cross-platform
Type| Software Library
License| ZLIB/LIBPNG Licence
Website| libharu.org

libHaru is a free, open-source, cross platform library for generating PDF files for applications written in C or C++.[1][2][3] It is not intended for reading and editing existing PDF files.

It supports the following 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, MS CP1250~8, KOI8-R).
* Supporting CJK fonts and encodings.

## Supporting compilers and programming languages

libHaru is written in ANSI C and should compile easily with any compliant C compiler.

It tested in the following environment:

* Cygwin \+ GCC (Microsoft Windows).
* Cygwin \+ MinGW (Microsoft Windows).
* Microsoft VC++ (Microsoft Windows).
* Borland C++ (Microsoft Windows).
* GCC (Linux, FreeBSD, NetBSD, Solaris, MorphOS...).

libHaru can be used as a static library or as a dynamic library.

When you use it as static-library, it can be used by C and a C++. But when you use it as shared-library, it can be used by many development languages which support shared library.

libharu provides bindings for programming languages:

* C++[4]
* C#
* Delphi
* FreeBASIC
* Free Pascal
* Python
* Ruby
* Visual Basic
* PHP[5]
* Perl[6]
* Lua[7]
* JavaScript[8]

## References

1. ↑ libHaru
2. ↑ libHaru on SourceForge.net
3. ↑ "Open source PDF library for C/C++ application?". https://stackoverflow.com/questions/58730/open-source-pdf-library-for-c-c-application. Retrieved 2010-01-20.
4. ↑ PocoPDF
5. ↑ Binding for PHP
6. ↑ Binding for PERL
7. ↑ "LuaHPDF - binding for Lua". http://luahpdf.colloquiki.com/.
8. ↑ hpdf.js

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/LibHaru. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:LibHaru&oldid=3956627"