LibHaru: Difference between revisions
Appearance
Content deleted Content added
m +cats |
|||
(34 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{Orphan|date=April 2010}} |
|||
{{Infobox software |
{{Infobox software |
||
| name = libHaru |
| name = libHaru |
||
| latest release version = 2. |
| latest release version = 2.4.3 |
||
| latest release date = 2022-10-14 |
|||
| latest preview version = 2.4.2 |
|||
| latest preview date = 2022-11-09 |
|||
| programming language = [[ANSI C]] |
| programming language = [[ANSI C]] |
||
| operating system = [[Cross-platform]] |
| operating system = [[Cross-platform]] |
||
| genre = [[Software Library]] |
| genre = [[Software Library]] |
||
| license = [[ZLIB/LIBPNG Licence]] |
| license = [[zlib License|ZLIB/LIBPNG Licence]] |
||
| website = |
| website = {{URL|libharu.org}} |
||
}} |
}} |
||
'''libHaru''' is a free, open source, cross platform library for generating PDF files for applications written in C or C++.<ref>{{cite web |url= |
'''libHaru''' is a [[Freeware|free]], [[open-source software|open-source]], [[Cross-platform|cross platform]] [[Library (computing)|library]] for generating [[Pdf|PDF]] files for applications written in [[ANSI C|C]] or [[C++]].<ref>[http://libharu.org/ libHaru]</ref><ref>[http://libharu.sourceforge.net/ libHaru on SourceForge.net]</ref><ref>{{cite web |url=https://stackoverflow.com/questions/58730/open-source-pdf-library-for-c-c-application |title=Open source PDF library for C/C++ application? |accessdate=2010-01-20}}</ref> |
||
It is not intended for reading and editing existing [[Pdf|PDF]] files. |
|||
It supports the following features: |
|||
⚫ | |||
* Generating [[Pdf|PDF]] files with lines, text, images. |
|||
* Outline, text annotation, link annotation. |
|||
* [[Data compression|Compressing]] document with [[DEFLATE|deflate-decode]]. |
|||
* Embedding [[Portable Network Graphics|PNG]], [[JPEG|Jpeg]] images. |
|||
* Embedding [[Type 1 fonts|Type1]] font and [[TrueType]] font. |
|||
* Creating [[Encryption|encrypted]] [[Pdf|PDF]] files. |
|||
* Using various [[character set]]s (ISO8859-1~16, [[Microsoft|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 [[ANSI C|C]] compiler. |
|||
[[fr:LibHaru]] |
|||
It tested in the following environment: |
|||
* [[Cygwin]] + [[GNU Compiler Collection|GCC]] ([[Windows|Microsoft Windows]]). |
|||
* [[Cygwin]] + MinGW ([[Windows|Microsoft Windows]]). |
|||
* [[Microsoft Visual C++|Microsoft VC++]] ([[Windows|Microsoft Windows]]). |
|||
* [[Borland C++]] ([[Windows|Microsoft Windows]]). |
|||
* [[GNU Compiler Collection|GCC]] ([[Linux]], [[FreeBSD]], [[NetBSD]], [[Solaris (operating system)|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 [[ANSI C|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++]]<ref>[http://pocoproject.org/blog/?p=117 PocoPDF]</ref> |
|||
* [[C Sharp (programming language)|C#]] |
|||
* [[Delphi (programming language)|Delphi]] |
|||
* [[FreeBASIC]] |
|||
* [[Free Pascal]] |
|||
* [[Python (programming language)|Python]] |
|||
* [[Ruby (programming language)|Ruby]] |
|||
* [[Visual Basic]] |
|||
* [[PHP]]<ref>[http://pecl.php.net/haru Binding for PHP]</ref> |
|||
* [[Perl]]<ref>[http://search.cpan.org/~butilw/PDF-Haru-1.00/lib/PDF/Haru.pm Binding for PERL]</ref> |
|||
* [[Lua (programming language)|Lua]]<ref>[http://luahpdf.colloquiki.com/ LuaHPDF - binding for Lua]</ref> |
|||
* [[JavaScript]]<ref>[https://github.com/manuels/hpdf.js hpdf.js]</ref> |
|||
⚫ | |||
⚫ | |||
[[Category:Free software programmed in C]] |
[[Category:Free software programmed in C]] |
Latest revision as of 08:29, 21 November 2023
Stable release | 2.4.3
/ 2022-10-14 |
---|---|
Preview release | 2.4.2
/ 2022-11-09 |
Repository | |
Written in | ANSI C |
Operating system | Cross-platform |
Type | Software Library |
License | ZLIB/LIBPNG Licence |
Website | libharu |
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
[edit]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: