Ruby Mendicant: Permian Prawn

by Gregory Brown

I'm happy to announce that the Prawn PDF library has hit another milestone on the Ruby Mendicant project roadmap. This time we'll look at Prawn's shiny new table drawing support, as well as some of the other features that have been added over the last several weeks. We'll also look at where things are headed in the future, including when to expect a first gem release. All this and more lies just beyond the cut...


Daniel Berger
2008-07-09 20:11:29
Looking good sir, looking very good.
Carl Youngblood
2008-07-10 07:49:37
Hey Greg, great job! Thanks for the update. Just a question. I looks like much of the text is evenly spaced and in some cases there appear to be extra large spaces between some characters, such as between the P and the r in Prawn. Are you doing any kerning to make the text closer in cases where it makes sense to do so? Does PDF have kerning features built-in, or do you have to do that yourself.
Gregory Brown
2008-07-10 07:54:59

Check out the kerning stuff on mdaines/prawn, we'll bring it upstream when we can.

Steven Hansen
2008-07-10 07:56:00
Awesome work! Thanks.
Eugene Chan
2008-07-18 12:35:05
This is much awesomeness. I'm following with much interest and am hoping that I can pitch in and help out.
Gregory Brown
2008-07-18 12:42:28
The best way to help right now is to file bug reports. I just set a Permian-1 tag which is a set of incremental improvements and bug-fixes. Since this integrates code from other branches and also changes the way Prawn works, I really need help shaking out the issues.

Details here:

2008-07-19 23:33:00
Awesome work!

is there an easy way to use this library to print a header with an underline? I can print text but can't work out what position to draw the line at.

Also, is there a way to make a list of dot points? Similar to <ul><li> etc. in html?

Looks like this library is going to be the pdf/writer killer!

Gregory Brown
2008-07-20 10:08:50
@Anko. no underline support yet but expect that very soon. Not sure whether I'll support a ul style bullet list, though you could build one with circles and absolutely positioned text.