Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Notes on PDF::Writer's next release...

Thread Tools

Notes on PDF::Writer's next release...

Austin Ziegler
Posts: n/a

I know that there's quite a bit of interest in an updated
PDF::Writer. I am in the process of updating it and massively
changing the API.

The good news is that there's going to be a lot of enhancements:
* Proper image support for both JPEG and PNG images, including
4-channel (CMYK) JPEG images. Alpha support in PNG will probably
need additional work as it looks like the original code for that
was buggy, and I need to review the PDF reference.
* Better handling of PDF options.
* New graphics primitives and changes to the way some of the
graphics primitives work -- I am hoping to also do some SVG/RVG
style graphics primitives.
* Three-colour (RGB) or four-colour (CMYK) support (I don't think
that there's a way to do HSB support) with additional prepress
support and numerous "named" colours.
* Better font handling: it should be possible to discover your
main font repository so that the .afm file and the .ttf or type1
font does not need to be in the same directory. You will still
require a .afm file to import non-standard fonts.
* Various bug fixes.
* Enhanced table creation and options.
* Various other formatting improvments.

There's one big piece of bad news: the API is changing so
drastically that current users will *not* simply be able to use the
current version in place. I had initially done a lot of the work on
this release so that it could be used in place, but I was looking at
the proliferation of objects and classes and code "everywhere" that
I determined that it's important that I clean this up.

The biggest change that I'm doing right now is that PDF::EZWriter
will be disappearing. Its code will be incorporated into the core
PDF::Writer class, or separated out into other classes or modules
that will be used in addition to or instead of PDF::EZWriter.

I am also hoping to reenable Compression of PDF documents to reduce
the size of the document (the "readme.rb.pdf" -- which will be
renamed in this upcoming release -- is over 200kb when generated),
and verify the operation of encrypted documents.

I think that this will be a very exciting release. Watch for it in
early March.

Austin Ziegler * Removed)
* Alternate: (E-Mail Removed)

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
C# 2.0 (Lotus Notes 6 & 7) Create mail document in draft folder for Lotus Notes SteveM ASP .Net 5 08-28-2007 04:16 PM
Steve Summit C Notes {Anticipating the next one} user923005 C Programming 9 03-19-2007 11:08 PM
Next (the other next) Gen "DVD" storage Alan Browne Digital Photography 13 05-31-2005 05:53 PM
Accessing email from Notes-mail-server without Lotus Notes installed Bjorn Jensen Perl 0 03-22-2005 01:44 PM
CurrentElement->next = CurrentElement->next->next (UNDEFINED?) Deniz Bahar C Programming 2 03-09-2005 12:45 AM