- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
tclhpdf is a Tcl interface to [[Haru Free PDF Libray:http://libharu.sourceforge.net/]].
tclhpdf is written in C and using TEA build system. So it may work with many platforms.
I tested it on Windows2000 and tcl8.4/8.5.
*** Features [#k17ae943]
+ 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 set (ISO8859-1~16, MSCP1250~8, KOI-8R).
+ Supporting CJK fonts and encodings.
***License [#h32c3d5c]
-Haru Free PDF Library license is simillar to zlib and libpng's one.
-tclhpdf license is BSD license.
***Version History [#wa7cd195]
- 2007-09-23~
First release 0.1.
***Download [#y94bbbc3]
#htmlinsert(adBigRect)
- source~
http://reddog.s35.xrea.com/software/tclhpdf0.1.tar.gz
- win32 binary (static link with required libraries)~
http://reddog.s35.xrea.com/software/tclhpdf-0.1-win32-bin.zip
***How to Use [#afdeeaf3]
package require Hpdf
set pdf [hpdf::new]
set font [$pdf getFont "Helvetica"]
set page [$pdf addPage]
$page setSize b5 landscape
$page setFontAndSize $font 64
$page beginText
$page textOut 50 [expr [$page getHeight] - 80] "HELLO WORLD"
$page endText
$pdf saveToFile test.pdf
see also demo files...
***Comment [#ba8a66c7]
-does tclhpdf deal with converting postscript file to pdf ? -- andrea &new{2009-10-06 19:07:47};
--No, it doesnt. -- reddog &new{2009-10-07 22:26:47};
#commente
----
[[CategoryTclTk]]
HTML convert time: 0.002 sec.