libHaru is a free, open-source, cross platform library for generating PDF files for applications written in C or C++. It is not intended for reading and editing existing PDF files.
Haru is a free, cross platform, open-sourced software library for generating PDF. It supports the following features. 1. Generating PDF files with lines, text, images. 2. Outline, text annotation, link annotation. 3. Compressing document with deflate-decode. 4. Embedding PNG, Jpeg images. 5. Embedding Type1 font and TrueType font. 6. Creating encrypted PDF files. 7. Using various character set (ISO8859-1 ~16, MSCP1250 ~8, KOI8-R). 8. Supporting CJK fonts and encodings. You can add the feature of PDF creation by using Haru without understanding complicated internal structure of PDF. The biggest differences are that all code is written in C. To our regret, because internal structures changed greatly, The API is not compatible with previous version. However, the new-version has the following advantages compared with the previous version. Haru is written in ANSI-C and should compile easily with any compliant C compiler. I inspected Haru in the following environment and make files for these environments are included in a package. Also on platforms except the above, it is easy to build HARU. If you success to build HARU on other platforms, please send makefile to me. In addition, ZLIB and PNGLIB are required when you want to use the features of compression and embedding PNG images. (In the case of Windows, static library files for several compilers are included in the package for WIndows. In the case of most of UNIX, these libraries are usually installed.) NOTE: In the UNIX environment, there are the cases that libz.so, libpng.so.x are necessary. About this, please refer to the documentation of PNGLIB and ZLIB. Haru is distributed under the ZLIB/LIBPNG License. Because ZLIB/LIBPNG License is one of the freest licenses, You can use Haru for various purposes. In no event will the authors be held liable for any damages arising from the use of this software. 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. 1. Information-technology Promotion Agency(IPA) The development of Haru has been supported by Exploratory Software Project of Information-technology Promotion Agency(IPA), Japan. 2. All users of libHaru. We wish to thank all users of Haru. In particular, we thank Thomas Nimstad, LeslieM, Par Hogberg, adenelson, Riccardo Cohen, sea sbs, Andrew. They gave me very useful advice. 3. Adobe Systems Inc. We thank Adobe Systems Inc. for publishing PDF specification.
~1 min read
libHaru is a free, open-source, cross platform library for generating PDF files for applications written in C or C++. 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.
Excerpt from the source-code README · 5,029 chars · not written by Vinony
via Wikidata · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).