hpdf 2.0.8-mswin32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History +57 -0
- data/License +25 -0
- data/README +136 -0
- data/docs/annotation_handling.html +503 -0
- data/docs/api.css +115 -0
- data/docs/api_reference.html +112 -0
- data/docs/bindings.html +242 -0
- data/docs/compile_your_program.html +365 -0
- data/docs/default.css +115 -0
- data/docs/destination_handling.html +620 -0
- data/docs/document_handling.html +4751 -0
- data/docs/documentation.html +110 -0
- data/docs/encoder_handling.html +428 -0
- data/docs/error_handling.html +1609 -0
- data/docs/examples.html +702 -0
- data/docs/ext_gstate.html +407 -0
- data/docs/font_handling.html +669 -0
- data/docs/fonts.html +978 -0
- data/docs/graphics.html +1210 -0
- data/docs/handles.html +204 -0
- data/docs/how_to_use.html +371 -0
- data/docs/image/Thumbs.db +0 -0
- data/docs/image/character_map.png +0 -0
- data/docs/image/encoding_list.png +0 -0
- data/docs/image/extgtate.png +0 -0
- data/docs/image/figure1.png +0 -0
- data/docs/image/figure10.png +0 -0
- data/docs/image/figure11.png +0 -0
- data/docs/image/figure12.png +0 -0
- data/docs/image/figure13.png +0 -0
- data/docs/image/figure14.png +0 -0
- data/docs/image/figure15.png +0 -0
- data/docs/image/figure16.png +0 -0
- data/docs/image/figure17.png +0 -0
- data/docs/image/figure18.png +0 -0
- data/docs/image/figure19.png +0 -0
- data/docs/image/figure2.png +0 -0
- data/docs/image/figure20.png +0 -0
- data/docs/image/figure21.png +0 -0
- data/docs/image/figure22.png +0 -0
- data/docs/image/figure23.png +0 -0
- data/docs/image/figure24.png +0 -0
- data/docs/image/figure25.png +0 -0
- data/docs/image/figure26.png +0 -0
- data/docs/image/figure27.png +0 -0
- data/docs/image/figure28.png +0 -0
- data/docs/image/figure3.png +0 -0
- data/docs/image/figure4.png +0 -0
- data/docs/image/figure5.png +0 -0
- data/docs/image/figure6.png +0 -0
- data/docs/image/figure7.png +0 -0
- data/docs/image/figure8.png +0 -0
- data/docs/image/figure9.png +0 -0
- data/docs/image/font_demo.png +0 -0
- data/docs/image/harulogo.png +0 -0
- data/docs/image/image_demo.png +0 -0
- data/docs/image/jpfont_demo.png +0 -0
- data/docs/image/line_demo.png +0 -0
- data/docs/image/png_demo.png +0 -0
- data/docs/image/text_annot.png +0 -0
- data/docs/image/text_demo.png +0 -0
- data/docs/image/text_demo2.png +0 -0
- data/docs/image/tt_font.png +0 -0
- data/docs/image_handling.html +505 -0
- data/docs/index.html +305 -0
- data/docs/install.html +243 -0
- data/docs/outline_handling.html +229 -0
- data/docs/page_handling.html +2647 -0
- data/docs/page_operator.html +2640 -0
- data/docs/useful_links.html +203 -0
- data/examples/arc_demo.rb +82 -0
- data/examples/demo.rb +91 -0
- data/examples/encryption.rb +41 -0
- data/examples/ext_gstater_demo.rb +171 -0
- data/examples/font_demo.rb +67 -0
- data/examples/jpfont_demo.rb +122 -0
- data/examples/line_demo.rb +301 -0
- data/examples/slide_show_demo.rb +139 -0
- data/examples/text_demo2.rb +189 -0
- data/examples/ttfont_demo.rb +106 -0
- data/lib/hpdf.so +0 -0
- data/tests/arc_demo.rb +82 -0
- data/tests/demo.rb +91 -0
- data/tests/encryption.rb +41 -0
- data/tests/ext_gstater_demo.rb +171 -0
- data/tests/font_demo.rb +67 -0
- data/tests/line_demo.rb +301 -0
- data/tests/slide_show_demo.rb +139 -0
- data/tests/test_all_examples.rb +31 -0
- data/tests/text_demo2.rb +189 -0
- metadata +137 -0
data/docs/index.html
ADDED
@@ -0,0 +1,305 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<title>Haru Free PDF Library</title>
|
5
|
+
<meta http-equiv="Content-Type"
|
6
|
+
content="text/html; charset=iso-8859-1">
|
7
|
+
<link href="default.css" type="text/css" rel="stylesheet">
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<div id="headcontainer">
|
11
|
+
<div class="head"><img alt="Haru Free PDF Library"
|
12
|
+
src="image/harulogo.png" style="width: 413px; height: 40px;"></div>
|
13
|
+
</div>
|
14
|
+
<div id="barcontainer">
|
15
|
+
<div class="buildbar"><a href="index.html">home</a> | <a
|
16
|
+
href="http://sourceforge.net/project/showfiles.php?group_id=83044">download</a>
|
17
|
+
|
|
18
|
+
<a href="documentation.html">documentation</a> | <a
|
19
|
+
href="examples.html">examples </a>| <a
|
20
|
+
href="http://sourceforge.net/projects/libharu/">sourceforge</a> |
|
21
|
+
<a href="http://sourceforge.net/forum/?group_id=83044">forums</a><br>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
<div id="container">
|
25
|
+
<div id="mainpage">
|
26
|
+
<div id="ccol">
|
27
|
+
<h2>Introduction</h2>
|
28
|
+
<h3><a name="What_is_Haru_Free_PDF_Library_"></a>What is Haru Free PDF
|
29
|
+
Library?<br>
|
30
|
+
</h3>
|
31
|
+
<div class="bodytext1">
|
32
|
+
HARU is a free, cross platform, open-sourced software library for
|
33
|
+
generating PDF. It supports the following features.<br>
|
34
|
+
<ol>
|
35
|
+
<li>Generating PDF files with lines, text, images.</li>
|
36
|
+
<li>Outline, text annotation, link annotation.</li>
|
37
|
+
<li>Compressing document with deflate-decode.</li>
|
38
|
+
<li>Embedding PNG, Jpeg images.</li>
|
39
|
+
<li>Embedding Type1 font and TrueType font.</li>
|
40
|
+
<li>Creating encrypted PDF files.</li>
|
41
|
+
<li>Using various character set (ISO8859-1~16, MSCP1250~8, KOI-8R).</li>
|
42
|
+
<li>Supporting CJK fonts and encodings.</li>
|
43
|
+
</ol>
|
44
|
+
<p>You can add the feature of PDF creation by using HARU without
|
45
|
+
understanding complicated internal structure of PDF. <br>
|
46
|
+
</p>
|
47
|
+
</div>
|
48
|
+
<h3><a name="Supporting_platforms_"></a>Supporting platforms<br>
|
49
|
+
</h3>
|
50
|
+
<div class="bodytext1">HARU is written in ANSI-C and should compile
|
51
|
+
easily with any compliant C compiler.<br>
|
52
|
+
I tested HARU in the following environment and make files for these
|
53
|
+
environments are included in a package.<br>
|
54
|
+
<ol>
|
55
|
+
<li>Cygwin + GCC (Microsoft Windows)</li>
|
56
|
+
<li>Cygwin + MinGW (Microsoft Windows)</li>
|
57
|
+
<li>Microsoft VC++ (Microsoft Windows)</li>
|
58
|
+
<li>Borland C++ (Microsoft Windows)</li>
|
59
|
+
<li>GCC (Linux, FreeBSD, NetBSD...)</li>
|
60
|
+
</ol>
|
61
|
+
Also on platforms except the above, it is easy to build HARU. If you
|
62
|
+
success
|
63
|
+
to build HARU on other platforms, please send makefile to me.<br>
|
64
|
+
In addition, <a href="http://www.zlib.net/">ZLIB</a> and <a
|
65
|
+
href="http://www.libpng.org/">PNGLIB</a> are required when you want to
|
66
|
+
use the
|
67
|
+
features of compression and embedding PNG images. (In the case of
|
68
|
+
Windows, static library files for several compilers are included in the
|
69
|
+
package for WIndows. In the case of most of UNIX, these
|
70
|
+
libraries are usually installed.)<br>
|
71
|
+
</div>
|
72
|
+
<h3><a name="Available_development_environment_"></a>Available
|
73
|
+
development environment
|
74
|
+
</h3>
|
75
|
+
<div class="bodytext1">HARU can work as both static-library (.a, .lib)
|
76
|
+
and shared-library (.so, .dll). <br>
|
77
|
+
When you use it as static-library, It can be used by C and a C++.<br>
|
78
|
+
But when you use it as shared-library, it can be used by many
|
79
|
+
development languages which support shared library.<br>
|
80
|
+
libharu provides <a href="bindings.html">bindings</a> for Ruby and
|
81
|
+
Delphi/Free Pascal and C#(Microsoft .NET platform).<br>
|
82
|
+
</div>
|
83
|
+
<h3><a name="Runtime_environment_of_programs_using"></a>Runtime
|
84
|
+
environment of programs using Haru
|
85
|
+
</h3>
|
86
|
+
<div class="bodytext1">
|
87
|
+
1. static-library<br>
|
88
|
+
</div>
|
89
|
+
<div class="bodytext3">
|
90
|
+
No runtime files are required.<br>
|
91
|
+
<br>
|
92
|
+
</div>
|
93
|
+
<div class="bodytext1">
|
94
|
+
2. shared-library<br>
|
95
|
+
</div>
|
96
|
+
<div class="bodytext3">
|
97
|
+
In Windows, you have to distribute libhpdf.dll with a program. In UNIX
|
98
|
+
you have to distribute libhpdf.so* with a program.
|
99
|
+
</div>
|
100
|
+
<br>
|
101
|
+
<div class="bodytext2">
|
102
|
+
NOTE:
|
103
|
+
<br>
|
104
|
+
In the UNIX environment, there are the cases that libz.so, libpng.so.x
|
105
|
+
are necessary. About this, please refer to the documentation of PNGLIB
|
106
|
+
and ZLIB.
|
107
|
+
</div>
|
108
|
+
<h3><a name="License_"></a>License
|
109
|
+
</h3>
|
110
|
+
<div class="bodytext1">HARU is distributed under the <a
|
111
|
+
href="http://www.opensource.org/licenses/zlib-license.php">ZLIB/LIBPNG
|
112
|
+
License</a>.
|
113
|
+
Because ZLIB/LIBPNG License is one of the freest licenses, You can
|
114
|
+
use Haru for various purposes.
|
115
|
+
<br>
|
116
|
+
The license of HARU is as follows.<br>
|
117
|
+
<br>
|
118
|
+
</div>
|
119
|
+
<div class="bodytext2"> Copyright (C) 1999-2006 Takeshi Kanno <takeshi_kanno
|
120
|
+
@est.hi-ho.ne.jp="">
|
121
|
+
<br>
|
122
|
+
This software is provided 'as-is', without any express or implied
|
123
|
+
warranty. <br>
|
124
|
+
<br>
|
125
|
+
In no event will the authors be held liable for any damages arising
|
126
|
+
from the use of this software.
|
127
|
+
<br>
|
128
|
+
<br>
|
129
|
+
Permission is granted to anyone to use this software for any
|
130
|
+
purpose,including commercial applications, and to alter it and
|
131
|
+
redistribute it freely, subject to the following restrictions:
|
132
|
+
<br>
|
133
|
+
</takeshi_kanno>
|
134
|
+
<ol>
|
135
|
+
<li>The origin of this software must not be misrepresented; you must
|
136
|
+
not claim that you wrote the original software. If you use this
|
137
|
+
software in a product, an acknowledgment in the product documentation
|
138
|
+
would be appreciated but is not required.</li>
|
139
|
+
<li>Altered source versions must be plainly marked as such, and must
|
140
|
+
not be
|
141
|
+
misrepresented as being the original software.</li>
|
142
|
+
<li>This notice may not be removed or altered from any source
|
143
|
+
distribution. </li>
|
144
|
+
</ol>
|
145
|
+
</div>
|
146
|
+
<h3><a name="Acknowledgment_"></a>Acknowledgment
|
147
|
+
</h3>
|
148
|
+
<div class="bodytext1">
|
149
|
+
<ul>
|
150
|
+
<li><span style="font-weight: bold;"><a
|
151
|
+
href="http://www.ipa.go.jp/index-e.html">Information-technology
|
152
|
+
Promotion Agency(IPA)</a></span></li>
|
153
|
+
</ul>
|
154
|
+
<div class="bodytext5">The development of HARU has been supported by <a
|
155
|
+
href="http://www.ipa.go.jp/english/humandev/third.html">Exploratory
|
156
|
+
Software Project</a> of Information-technology Promotion Agency(IPA),
|
157
|
+
Japan.<br>
|
158
|
+
</div>
|
159
|
+
<ul>
|
160
|
+
<li><span style="font-weight: bold;">All users of libharu</span></li>
|
161
|
+
</ul>
|
162
|
+
<div class="bodytext5">We wish to thank all users of HARU.<br>
|
163
|
+
In
|
164
|
+
particular, we thank Thomas Nimstad, LeslieM, Par Hogberg,
|
165
|
+
adenelson, Riccardo Cohen, sea_sbs, Andrew. They gave me very useful
|
166
|
+
advices.<br>
|
167
|
+
</div>
|
168
|
+
<ul>
|
169
|
+
<li><a href="http://sourceforge.net/"><span style="font-weight: bold;">Sourceforge.net</span></a></li>
|
170
|
+
</ul>
|
171
|
+
<div class="bodytext5">We thank to sourceForge.net for project hosting.<br>
|
172
|
+
</div>
|
173
|
+
<ul>
|
174
|
+
<li><a href="http://www.adobe.com/"><span style="font-weight: bold;">Adobe
|
175
|
+
Systems Inc.</span></a><br>
|
176
|
+
</li>
|
177
|
+
</ul>
|
178
|
+
<div class="bodytext5">We thank Adobe Systems Inc. for publishing PDF
|
179
|
+
specification.<br>
|
180
|
+
</div>
|
181
|
+
</div>
|
182
|
+
</div>
|
183
|
+
</div>
|
184
|
+
<div id="lcol">
|
185
|
+
<div class="sidebar"><br>
|
186
|
+
<ul>
|
187
|
+
<li>
|
188
|
+
<h3 style="text-align: left;"><a
|
189
|
+
href="#What_is_Haru_Free_PDF_Library_">What is Haru Free PDF Library?</a>
|
190
|
+
</h3>
|
191
|
+
</li>
|
192
|
+
<li>
|
193
|
+
<h3 style="text-align: left;"><a href="#Supporting_platforms_">Supporting
|
194
|
+
platforms</a> </h3>
|
195
|
+
</li>
|
196
|
+
<li>
|
197
|
+
<h3 style="text-align: left;"><a
|
198
|
+
href="#Available_development_environment_">Available development
|
199
|
+
environment</a> </h3>
|
200
|
+
</li>
|
201
|
+
<li>
|
202
|
+
<h3 style="text-align: left;"><a
|
203
|
+
href="#Runtime_environment_of_programs_using">Runtime environment of
|
204
|
+
programs using HARU</a> </h3>
|
205
|
+
</li>
|
206
|
+
<li>
|
207
|
+
<h3 style="text-align: left;"> <a href="#License_">License</a> </h3>
|
208
|
+
</li>
|
209
|
+
<li>
|
210
|
+
<h3 style="text-align: left;"> <a href="#Acknowledgment_">Acknowledgment</a>
|
211
|
+
</h3>
|
212
|
+
</li>
|
213
|
+
</ul>
|
214
|
+
<br>
|
215
|
+
<br>
|
216
|
+
<br>
|
217
|
+
<br>
|
218
|
+
<br>
|
219
|
+
<br>
|
220
|
+
<br>
|
221
|
+
<br>
|
222
|
+
<br>
|
223
|
+
<br>
|
224
|
+
<br>
|
225
|
+
<br>
|
226
|
+
<br>
|
227
|
+
<br>
|
228
|
+
<br>
|
229
|
+
<br>
|
230
|
+
<br>
|
231
|
+
<br>
|
232
|
+
<br>
|
233
|
+
<br>
|
234
|
+
<br>
|
235
|
+
<br>
|
236
|
+
<br>
|
237
|
+
<br>
|
238
|
+
<br>
|
239
|
+
<br>
|
240
|
+
<br>
|
241
|
+
<br>
|
242
|
+
<br>
|
243
|
+
<br>
|
244
|
+
<br>
|
245
|
+
<br>
|
246
|
+
<br>
|
247
|
+
<br>
|
248
|
+
<br>
|
249
|
+
<br>
|
250
|
+
<br>
|
251
|
+
<br>
|
252
|
+
<br>
|
253
|
+
<br>
|
254
|
+
<br>
|
255
|
+
<br>
|
256
|
+
<br>
|
257
|
+
<br>
|
258
|
+
<br>
|
259
|
+
<br>
|
260
|
+
<br>
|
261
|
+
<br>
|
262
|
+
<br>
|
263
|
+
<br>
|
264
|
+
<br>
|
265
|
+
<br>
|
266
|
+
<br>
|
267
|
+
<br>
|
268
|
+
<br>
|
269
|
+
<br>
|
270
|
+
<br>
|
271
|
+
<br>
|
272
|
+
<br>
|
273
|
+
<br>
|
274
|
+
<br>
|
275
|
+
<br>
|
276
|
+
<br>
|
277
|
+
<br>
|
278
|
+
<br>
|
279
|
+
<br>
|
280
|
+
<br>
|
281
|
+
<br>
|
282
|
+
<br>
|
283
|
+
<br>
|
284
|
+
<br>
|
285
|
+
<br>
|
286
|
+
<br>
|
287
|
+
<br>
|
288
|
+
<br>
|
289
|
+
<br>
|
290
|
+
<br>
|
291
|
+
<br>
|
292
|
+
<br>
|
293
|
+
<br>
|
294
|
+
<br>
|
295
|
+
<br>
|
296
|
+
<br>
|
297
|
+
<br>
|
298
|
+
<br>
|
299
|
+
</div>
|
300
|
+
</div>
|
301
|
+
<br>
|
302
|
+
<br>
|
303
|
+
</div>
|
304
|
+
</body>
|
305
|
+
</html>
|
data/docs/install.html
ADDED
@@ -0,0 +1,243 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<title>Haru Free PDF Library</title>
|
5
|
+
<meta http-equiv="Content-Type"
|
6
|
+
content="text/html; charset=iso-8859-1">
|
7
|
+
<link href="default.css" type="text/css" rel="stylesheet">
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<div id="headcontainer">
|
11
|
+
<div class="head"><img alt="Haru Free PDF Library"
|
12
|
+
src="image/harulogo.png" style="width: 413px; height: 40px;"></div>
|
13
|
+
</div>
|
14
|
+
<div id="barcontainer">
|
15
|
+
<div class="buildbar"><a href="index.html">home</a> | <a
|
16
|
+
href="http://sourceforge.net/project/showfiles.php?group_id=83044">download</a>
|
17
|
+
|
|
18
|
+
<a href="documentation.html">documentation </a>| <a
|
19
|
+
href="examples.html">examples </a>| <a
|
20
|
+
href="http://sourceforge.net/projects/libharu/">sourceforge</a> |
|
21
|
+
<a href="http://sourceforge.net/forum/?group_id=83044">forums</a><br>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
<div id="container">
|
25
|
+
<div id="mainpage">
|
26
|
+
<div id="ccol">
|
27
|
+
<h2>Install</h2>
|
28
|
+
<h3><a name="Linux_platform"></a>GCC on UNIX platforms (and
|
29
|
+
similar systems)<br>
|
30
|
+
</h3>
|
31
|
+
<div class="bodytext1">Unpack the libharu package.<br>
|
32
|
+
<br>
|
33
|
+
<div class="bodycode">tar -xvzf libharu_X.X.X.tgz<br>
|
34
|
+
cd libharu-X.X.X
|
35
|
+
</div>
|
36
|
+
<p>Run configure script. (If the configure script does not work well,
|
37
|
+
use custom-built makefiles in the "script" directory.)<br>
|
38
|
+
</p>
|
39
|
+
<div class="bodycode">./configure [--prefix=$HOME] [--shared]
|
40
|
+
[--cflags=ADDITIONAL_CFLAGS]<br>
|
41
|
+
</div>
|
42
|
+
<br>
|
43
|
+
<div class="bodynote">NOTE:<br>
|
44
|
+
When you build haru for creating ruby extension library on linux
|
45
|
+
platforms, run configure script with following command. <br>
|
46
|
+
./configure --cflags=-fPIC<br>
|
47
|
+
</div>
|
48
|
+
<br>
|
49
|
+
<p>Build library and install. <br>
|
50
|
+
</p>
|
51
|
+
<div class="bodycode">make clean<br>
|
52
|
+
make<br>
|
53
|
+
make install
|
54
|
+
</div>
|
55
|
+
<p>Type "make demo" to test library. If it succeeds, some PDF files are
|
56
|
+
made in the demo directory.<br>
|
57
|
+
</p>
|
58
|
+
<div class="bodycode">
|
59
|
+
make demo</div>
|
60
|
+
<br>
|
61
|
+
</div>
|
62
|
+
<h3><a name="Windows_platforms"></a>Windows platforms (except
|
63
|
+
cygwin/MinGW)<br>
|
64
|
+
</h3>
|
65
|
+
<div class="bodytext1">Unpack the libharu package on command prompt.<br>
|
66
|
+
<br>
|
67
|
+
<div class="bodycode">unzip -xvzf libharu_X.X.X_win32.zip<br>
|
68
|
+
cd libharu-X.X.X
|
69
|
+
</div>
|
70
|
+
<p>
|
71
|
+
There are several kinds of Makefile for every compilers in script
|
72
|
+
directory.<br>
|
73
|
+
Build library with an appropriate Makefile.</p>
|
74
|
+
<p>
|
75
|
+
1) Microsoft VC++ Compiler<br>
|
76
|
+
</p>
|
77
|
+
<div class="bodycode">nmake -f script/Makefile.msvc</div>
|
78
|
+
<p>
|
79
|
+
2) Bor land C++ </p>
|
80
|
+
<div class="bodycode">make -f script/Makefile.bcc</div>
|
81
|
+
<br>
|
82
|
+
<div class="bodynote">Note:<br>
|
83
|
+
If you want to create DLL, use Makefile.msvc_dll
|
84
|
+
(or
|
85
|
+
Makafile.bcc32_dll) instead.</div>
|
86
|
+
<p>Type following commands to test library. If it succeeds, some PDF
|
87
|
+
files are
|
88
|
+
made in the demo directory.<br>
|
89
|
+
In Windows environment, Install command is not prepared.<br>
|
90
|
+
</p>
|
91
|
+
<p>1) Microsoft VC++ Compiler</p>
|
92
|
+
<div class="bodycode">
|
93
|
+
nmake -f script/Makefile.msvc[_dll] demo</div>
|
94
|
+
<p>2) Bor land C++ </p>
|
95
|
+
<div class="bodycode">
|
96
|
+
make -f script/Makefile.bcc[_dll] demo</div>
|
97
|
+
<br>
|
98
|
+
If you use "Visual Studio .NET", use "Visual Studio .NET Command
|
99
|
+
Prompt" to build Haru. But some warnings about optimizing may occur
|
100
|
+
because of the compiler included in "Visual Studio .NET" does not
|
101
|
+
have an optimizing feature.<br>
|
102
|
+
We can also use "Microsoft Visual C++ Toolkit 2003" and "Microsoft
|
103
|
+
Platform SDK" instead. The compiler of "Microsoft Visual C++ Toolkit
|
104
|
+
2003" supports optimizing feature. <br>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
<h3><a name="Cygwin_with_MinGW_"></a>Cygwin/MinGW<br>
|
108
|
+
</h3>
|
109
|
+
<div class="bodytext1">Unpack the libharu package.<br>
|
110
|
+
<br>
|
111
|
+
<div class="bodycode">tar -xvzf libharu_X.X.X.tgz<br>
|
112
|
+
cd libharu-X.X.X
|
113
|
+
</div>
|
114
|
+
<p>Run configure script. If you want to make libharu using MinGW on
|
115
|
+
cygwin, add
|
116
|
+
"--nocygwin" as argument.<br>
|
117
|
+
"--nocygwin" options is not required in MinGW on MSYS.<br>
|
118
|
+
</p>
|
119
|
+
<div class="bodycode">./configure [--prefix=$HOME] [--shared]
|
120
|
+
[--nocygwin]<br>
|
121
|
+
</div>
|
122
|
+
<p>Build library and install. The default install path is
|
123
|
+
/usr/local/include and /usr/local/lib.<br>
|
124
|
+
</p>
|
125
|
+
<div class="bodycode">make install
|
126
|
+
</div>
|
127
|
+
<p>Type "make demo" to test library. If it succeeds, some PDF files are
|
128
|
+
made in the demo directory.<br>
|
129
|
+
</p>
|
130
|
+
<div class="bodycode">
|
131
|
+
make demo</div>
|
132
|
+
</div>
|
133
|
+
<br>
|
134
|
+
<h3><a name="Cygwin_with_MinGW_"></a>Other Platforms<br>
|
135
|
+
</h3>
|
136
|
+
<div class="bodytext1">There are several custom make files in script
|
137
|
+
directory. I think that you can build library by adding some changes to
|
138
|
+
these files.<br>
|
139
|
+
If you succeed at making Haru on other platforms, please send me your
|
140
|
+
make-files.<br>
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
<div id="lcol">
|
144
|
+
<div class="sidebar"><br>
|
145
|
+
<ul>
|
146
|
+
<li> <a href="#Linux_platform">Linux
|
147
|
+
platform (and similar systems)<br>
|
148
|
+
</a> </li>
|
149
|
+
<li> <a href="#Windows_platforms">Windows
|
150
|
+
platforms (except cygwin/MinGW)</a> </li>
|
151
|
+
<li> <a href="#Cygwin_with_MinGW_">Cygwin/MinGW</a> </li>
|
152
|
+
</ul>
|
153
|
+
<br>
|
154
|
+
<br>
|
155
|
+
<br>
|
156
|
+
<br>
|
157
|
+
<br>
|
158
|
+
<br>
|
159
|
+
<br>
|
160
|
+
<br>
|
161
|
+
<br>
|
162
|
+
<br>
|
163
|
+
<br>
|
164
|
+
<br>
|
165
|
+
<br>
|
166
|
+
<br>
|
167
|
+
<br>
|
168
|
+
<br>
|
169
|
+
<br>
|
170
|
+
<br>
|
171
|
+
<br>
|
172
|
+
<br>
|
173
|
+
<br>
|
174
|
+
<br>
|
175
|
+
<br>
|
176
|
+
<br>
|
177
|
+
<br>
|
178
|
+
<br>
|
179
|
+
<br>
|
180
|
+
<br>
|
181
|
+
<br>
|
182
|
+
<br>
|
183
|
+
<br>
|
184
|
+
<br>
|
185
|
+
<br>
|
186
|
+
<br>
|
187
|
+
<br>
|
188
|
+
<br>
|
189
|
+
<br>
|
190
|
+
<br>
|
191
|
+
<br>
|
192
|
+
<br>
|
193
|
+
<br>
|
194
|
+
<br>
|
195
|
+
<br>
|
196
|
+
<br>
|
197
|
+
<br>
|
198
|
+
<br>
|
199
|
+
<br>
|
200
|
+
<br>
|
201
|
+
<br>
|
202
|
+
<br>
|
203
|
+
<br>
|
204
|
+
<br>
|
205
|
+
<br>
|
206
|
+
<br>
|
207
|
+
<br>
|
208
|
+
<br>
|
209
|
+
<br>
|
210
|
+
<br>
|
211
|
+
<br>
|
212
|
+
<br>
|
213
|
+
<br>
|
214
|
+
<br>
|
215
|
+
<br>
|
216
|
+
<br>
|
217
|
+
<br>
|
218
|
+
<br>
|
219
|
+
<br>
|
220
|
+
<br>
|
221
|
+
<br>
|
222
|
+
<br>
|
223
|
+
<br>
|
224
|
+
<br>
|
225
|
+
<br>
|
226
|
+
<br>
|
227
|
+
<br>
|
228
|
+
<br>
|
229
|
+
<br>
|
230
|
+
<br>
|
231
|
+
<br>
|
232
|
+
<br>
|
233
|
+
<br>
|
234
|
+
<br>
|
235
|
+
<br>
|
236
|
+
<br>
|
237
|
+
</div>
|
238
|
+
</div>
|
239
|
+
<br>
|
240
|
+
<br>
|
241
|
+
</div>
|
242
|
+
</body>
|
243
|
+
</html>
|