{"id":13420283,"url":"https://github.com/libharu/libharu","last_synced_at":"2025-05-13T22:03:04.731Z","repository":{"id":471289,"uuid":"96269","full_name":"libharu/libharu","owner":"libharu","description":"libharu - free PDF library","archived":false,"fork":false,"pushed_at":"2025-04-05T08:26:53.000Z","size":29046,"stargazers_count":1828,"open_issues_count":97,"forks_count":521,"subscribers_count":111,"default_branch":"master","last_synced_at":"2025-04-10T18:25:32.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://libharu.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libharu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2008-12-24T09:01:25.000Z","updated_at":"2025-04-05T08:26:57.000Z","dependencies_parsed_at":"2023-07-06T09:48:24.083Z","dependency_job_id":"cc544250-9376-4cb2-9b46-6aedc3263f7e","html_url":"https://github.com/libharu/libharu","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libharu%2Flibharu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libharu%2Flibharu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libharu%2Flibharu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libharu%2Flibharu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libharu","download_url":"https://codeload.github.com/libharu/libharu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251336391,"owners_count":21573188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:01:30.374Z","updated_at":"2025-04-28T15:17:11.966Z","avatar_url":"https://github.com/libharu.png","language":"C","funding_links":[],"categories":["TODO scan for Android support in followings","PDF","C"],"sub_categories":["网络"],"readme":"# Haru Free PDF Library [![Build Status](https://github.com/libharu/libharu/actions/workflows/cmake.yml/badge.svg)](https://github.com/libharu/libharu/actions/workflows/cmake.yml)\n\n  **URL http://libharu.org/**\n\n  **Copyright 2000-2006 (c) Takeshi Kanno**\n\n  **Copyright 2007-2009 (c) Antony Dovgal et al.**\n\nSee INSTALL for instructions on how to install libHaru.\n\n\n# What is Haru Free PDF Library?\n\nHaru is a free, cross platform, open-sourced software library for generating \nPDF. It supports the following features.\n\n   1. Generating PDF files with lines, text, images.\n   2. Outline, text annotation, link annotation.\n   3. Compressing document with deflate-decode.\n   4. Embedding PNG, Jpeg images.\n   5. Embedding Type1 font and TrueType font.\n   6. Creating encrypted PDF files.\n   7. Using various character set (ISO8859-1\\~16, MSCP1250\\~8, KOI8-R).\n   8. Supporting CJK fonts and encodings.\n\nYou can add the feature of PDF creation by using Haru without understanding \ncomplicated internal structure of PDF.\n\n\n# The differences from the previous version \n\n\nThe biggest differences are that all code is written in C. \nTo our regret, because internal structures changed greatly, The API is not \ncompatible with previous version.\n\nHowever, the new-version has the following advantages compared with the \nprevious version.\n\n 1. Supported shared-library build.\n    A new-version library is able to be built as shared-library.\n 2. The performance has been greatly improved.\n    A new-version library is about 4-15 times faster than a previous version. \n 3. Supported more features.\n    TrueType font, 128 bit encryption, arc function, and so on.\n\n\n# Supporting platforms\n\nHaru is written in ANSI-C and should compile easily with any compliant C \ncompiler.\nI inspected Haru in the following environment and make files for these \nenvironments are included in a package.\n\n   1. Cygwin + GCC (Microsoft Windows)\n   2. Cygwin + MinGW (Microsoft Windows)\n   3. MSYS + MinGW (Microsoft Windows)\n   3. Microsoft VC++ (Microsoft Windows)\n   4. Borland C++ (Microsoft Windows)\n   5. GCC (Linux, FreeBSD, NetBSD, Solaris...)\n\nAlso 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.\nIn addition, ZLIB and PNGLIB are required when you want to use the features of \ncompression and embedding PNG images. (In the case of Windows, static library \nfiles for several compilers are included in the package for WIndows.  In the \ncase of  most of UNIX, these libraries are usually installed.)\n\n\n# Available development environment\n\nHaru can work as both static-library (.a, .lib) and shared-library (.so, .dll).\nWhen you use it as static-library, It can be used by C and a C++.\nBut when you use it as shared-library, it can be used by many development \nlanguages which support shared library.\nSo far, Haru provides bindings for Ruby, Delphi/Free Pascal and C#.\n\nIf you write bindings for other programming languages, please notice me!\n\n\n# Runtime environment of programs using Haru\n\n1. static-library\n   No runtime files are required.\n\n2. shared-library\n   In Windows, you have to distribute libhpdf.dll with a program. In UNIX you \n   have to distribute libhpdf.so* with a program.\n\n\n\nNOTE:\nIn the UNIX environment, there are the cases that libz.so, libpng.so.x are \nnecessary. About this, please refer to the documentation of PNGLIB and ZLIB.\n\n\n# License\n\nHaru is distributed under the ZLIB/LIBPNG License. Because ZLIB/LIBPNG License \nis one of the freest licenses, You can use Haru for various purposes.\n\nThe license of Haru is as follows.\n\nCopyright (C) 1999-2006 Takeshi Kanno\nCopyright (C) 2007-2009 Antony Dovgal\n\nThis software is provided 'as-is', without any express or implied warranty.\n\nIn no event will the authors be held liable for any damages arising from the \nuse of this software.\n\nPermission is granted to anyone to use this software for any purpose,including \ncommercial applications, and to alter it and redistribute it freely, subject \nto the following restrictions:\n\n 1. The origin of this software must not be misrepresented; you must not claim \n    that you wrote the original software. If you use this software in a \n    product, an acknowledgment in the product documentation would be \n    appreciated but is not required.\n 2. Altered source versions must be plainly marked as such, and must not be \n    misrepresented as being the original software.\n 3. This notice may not be removed or altered from any source distribution.\n\n\n\n# Acknowledgment\n\n1. Information-technology Promotion Agency(IPA)\n   The development of Haru has been supported by Exploratory Software Project \n   of Information-technology Promotion Agency(IPA), Japan. \n\n2. All users of libHaru.\n   We wish to thank all users of Haru.\n   In particular, we thank Thomas Nimstad, LeslieM, Par Hogberg, adenelson, \n   Riccardo Cohen, sea_sbs, Andrew. \n   They gave me very useful advices.\n\n3. Adobe Systems Inc.\n   We thank Adobe Systems Inc. for publishing PDF specification.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibharu%2Flibharu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibharu%2Flibharu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibharu%2Flibharu/lists"}