Hi,
"HARU is a free, cross platform, open-sourced software library for generating PDF" - so why not use it from Squeak.
[1] includes a first rough version of a binding for the free Haru PDF library [2]. It's not fully complete but usable to start printing. Use at your own risk and feel free to help moving it forward (MIT License). The squeaksource repo is read/write.
See examples in class PDFDocument to get started. Since it uses FFI an external library for your platform is required [2]. Place it next to your SqueakVM.
Happy printing
Bye Torsten
[1] http://www.squeaksource.com/HPDF.html [2] http://libharu.sourceforge.net
On Tue, May 27, 2008 at 10:18 AM, astares@gmx.de wrote:
Hi,
"HARU is a free, cross platform, open-sourced software library for generating PDF" - so why not use it from Squeak.
Just as an additional info without knowing anything about HARU: the Rome framework also supports the Cairo PDF backend now. We use that in Sophie for exporting Sophie content as PDF.
A comparison between the two approaches would certainly be useful.
Michael
squeak-dev@lists.squeakfoundation.org