public
Description: Fast, Nimble PDF Writer for Ruby
Homepage: http://prawn.majesticseacreature.com
Clone URL: git://github.com/sandal/prawn.git

Comments for sandal's prawn   feed

rnhurt commented on sandal/prawn Sat Nov 21 07:22:44 -0800 2009
Comment in 28393eb:

Something about this commit is causing PDFs generated in Rails to black out table data after the first page[1]. Any hint on what might be doing it? I've stepped through the code in Rails and can't pin it down. :(

[1] http://github.com/sandal/prawn-layout/issues/closed/#issue/13

yob commented on sandal/prawn Mon Nov 09 14:34:23 -0800 2009
Comment in a27cdf8:

nice one!

yob commented on sandal/prawn Mon Jun 15 08:34:32 -0700 2009
Comment in 47b93a5:

D'oh. A regression?

yob commented on sandal/prawn Wed May 27 19:40:00 -0700 2009
Comment in 84fd045:

for once, not me! :)

yob commented on sandal/prawn Sun Apr 19 09:31:09 -0700 2009
Comment in a090f10:

rdoc should work too: http://github.com/yob/abn/tree/master

yob commented on sandal/prawn Mon Dec 08 20:43:07 -0800 2008
Comment in 73df775:

In some ways I like raising an error on invalid utf-8, but silently replacing non WinAnsi characters with a valid char.

It’s up to you though, you’re the API master :)

sandal commented on sandal/prawn Mon Dec 08 19:33:15 -0800 2008
Comment in 73df775:

So should we fix Prawn::Encoding::WinAnsi so it raises an error?

yob commented on sandal/prawn Fri Dec 05 15:27:52 -0800 2008
Comment in 73df775:

unpack() will raise an exception if the string isn’t valid utf-8 though, so the original error message before these 2 commits was somewhat accurate.

yob commented on sandal/prawn Fri Dec 05 15:25:22 -0800 2008
Comment in 73df775:

I just noticed that Prawn::Encoding::WinAnsi doesn’t raise an exception when an invalid codepoint is detected, so this error message will never get raised :)

sandal commented on sandal/prawn Fri Dec 05 13:12:43 -0800 2008
Comment in bb13bce:

Ah, good call.

yob commented on sandal/prawn Tue Dec 02 15:11:10 -0800 2008
Comment on lib/prawn/font.rb L253 in bb13bce:

It’s been a while since I wrote this patch, is this exception message correct?

Isn’t it possible for the utf-8 to be valid, but contain characters that aren’t in WinAnsi?

yob commented on sandal/prawn Mon Nov 24 15:23:50 -0800 2008
Comment in b5f32d9:

nice!

raggi commented on sandal/prawn Sat Aug 09 01:52:51 -0700 2008
Comment in e1dde49:

rspec is huge. moving to bacon cut a few of our test run times significantly.

There may be other reasons too, but the whole lightweight nature of bacon is very appealing.

Since patching for autotest support (now upstream), I’m using it all the time.

WRT this discussion, I have made a Prawn fork yesterday that uses bacon and facon. It did highlight a couple of areas where facon still needs work, some of which I completed in my facon fork.

tmm1 commented on sandal/prawn Fri Aug 08 14:30:35 -0700 2008
Comment in e1dde49:

Because rspec was horribly broken on 1.9. I am a huge fan of bacon- its compact (only 300 lines!), simple (no magic, so it works on all the ruby implementations) and I prefer its syntax over rspec’s (imho, rspec is confusing and unintuitive)

thorny-sun commented on sandal/prawn Fri Aug 08 08:32:56 -0700 2008
Comment in e1dde49:

tmm1— why did y’all make the switch— and how would you compare the two now?

tmm1 commented on sandal/prawn Fri Aug 08 05:08:59 -0700 2008
Comment in e1dde49:

We switched from rspec to bacon when we wanted to make Ramaze 1.9 compatible. IIRC, our bacon suite passes successfully on rubinius, jruby, mri and ruby 1.9.

raggi commented on sandal/prawn Fri Aug 08 03:54:07 -0700 2008
Comment in e1dde49:

Understood re. BDD, the thing I love about bacon is it’s so light, and fast.

sandal commented on sandal/prawn Thu Aug 07 22:49:41 -0700 2008
Comment in e1dde49:

raggi, if you want to fork and see if you can get things working, I’d be happy to look at it. I can’t really make any promises, but I’d consider moving to Bacon/Facon if that’s what ya’ll want.

Still, I see the benefit of Test::Unit compatibility… some of my friends are anti-BDD curmudgeons :)

raggi commented on sandal/prawn Thu Aug 07 15:37:00 -0700 2008
Comment in e1dde49:

Seems to work on 1.9 in a few of my packages…

raggi commented on sandal/prawn Thu Aug 07 15:34:55 -0700 2008
Comment in e1dde49:

Oh, and bacon for autotest just needs a .bacon in your test/ or spec/ dir.