Is it possible to justify the title of the table to the left. Currently
it positions itself above the table in the dead center of the table.
I would like to have the title above the table, but on the left hand
side.
I’ve downloaded and read Austin Z.'s pdf manual from rubyforge, but
I can only find commands to change the title’s color, font size and gap
to table contents.
I’ve also tried:
tab.title = “My title”, :justify => left
tab.title_justify = left
Both of these have some issues, but work fine for basic needs.
Patches welcome if you run into problems.
What does ‘no longer supported’ actually mean?
No longer being developed or is there some other compatibility issue to
consider?
Well, PDF::Writer will never really support UTF-8, the patches to make
it run on Ruby 1.9 that appeared recently only do so in a very basic
level, and there are many subtle oddities / bugs that never got fixed.
The API is very poor by modern Ruby standards (even if it was great
in its time), and performance is abysmal. Also, technically speaking
I’m the maintainer of PDF::Writer right now, and my solution to ‘fix’
it was to build Prawn, after I did some minor cleanup and bug fixes
that were collecting dust for a couple years.
The only reason PDF::Writer isn’t officially dead yet is because Prawn
isn’t officially alive yet. But folks keep on contributing, and I
shave off time where I can. I’m hoping to have something ready by the
year end.
Ah, I see. Yeah, I’ve been quitely merging patchs and adding things,
probably not the best of practices.
Prawn will have a renaissance of activity and buzz after 0.5.1,
because I’ll be doing a better job of keeping folks informed of what’s
to come and what’s there by then.
That’s why it’s taking me so long, I’m trying to transition from an
alpha product to something that looks like it might actually see a 1.0
someday.
Things will get better soon.