开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
1 Star 0 Fork 0

liu/libharu

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
master
分支 (1)
master
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
贡献代码
同步代码
对比差异 通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull
Request,合入后将完成同步
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Zlib
#
# URL http://libharu.org/
#
# Copyright 2000-2006 (c) Takeshi Kanno
# Copyright 2007-2009 (c) Antony Dovgal et al.
#
See INSTALL for instructions on how to install libHaru.
*
* What is Haru Free PDF Library?
*
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 differences from the previous version 
*
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.
 1. Supported shared-library build.
 A new-version library is able to be built as shared-library.
 2. The performance has been greatly improved.
 A new-version library is about 4-15 times faster than a previous version. 
 3. Supported more features.
 TrueType font, 128 bit encryption, arc function, and so on.
*
* Supporting platforms
*
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.
 1. Cygwin + GCC (Microsoft Windows)
 2. Cygwin + MinGW (Microsoft Windows)
 3. MSYS + MinGW (Microsoft Windows)
 3. Microsoft VC++ (Microsoft Windows)
 4. Borland C++ (Microsoft Windows)
 5. GCC (Linux, FreeBSD, NetBSD, Solaris...)
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.)
*
* Available development environment
*
Haru can work as both a static-library (.a, .lib) and a shared-library (.so, .dll).
When you use it as a static-library, It can be used by C and C++.
But when you use it as a shared-library, it can be used by many development 
languages which support shared libraries.
So far, Haru provides bindings for Ruby, Delphi/Free Pascal, and C#.
If you write bindings for other programing languages, please inform me!
*
* Runtime environment of programs using Haru
*
1. static-library
 No runtime files are required.
2. shared-library
 In Windows, you have to distribute libhpdf.dll with a program. In UNIX you 
 have to distribute libhpdf.so* with a program.
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.
*
* License
*
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.
The license of Haru is as follows.
Copyright (C) 1999-2006 Takeshi Kanno
Copyright (C) 2007-2009 Antony Dovgal
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the 
use of this software.
Permission is granted to anyone to use this software for any purpose,including 
commercial applications, and to alter it and redistribute it freely, subject 
to the following restrictions:
 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.
*
* Acknowledgment
*
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 advices.
3. Sourceforge.net
 We would like to thank sourceForge.net for project hosting.
4. Adobe Systems Inc.
 We thank Adobe Systems Inc. for publishing PDF specification.
Copyright (C) 1999-2006 Takeshi Kanno Copyright (C) 2007-2009 Antony Dovgal This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose,including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 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.
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

暂无描述
暂无标签
README
Zlib
使用 Zlib 开源许可协议
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ld3003/libharu.git
git@gitee.com:ld3003/libharu.git
ld3003
libharu
libharu
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /