You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written a small script that can be used to quickly test/iterate, for anyone out there who wants to try a fix. I am not a Ruby dev and there are no build instructions for this repo so I just slapped this together:
Build Environment
Project files:
main.rb
./prawn-table/ <----- clone of this repo
To rebuild the Gem with your changes, and rebuild the PDF:
cd ./prawn-table
rm prawn-table-*.gem && gem build prawn-table.gemspec
cd -
ruby main.rb
Valign does not work.
:top
ends up centered,:center
ends up at the bottom, and:bottom
ends up at the bottom correctly.The original valign code was added in prawn:5cddc78a
I've written a small script that can be used to quickly test/iterate, for anyone out there who wants to try a fix. I am not a Ruby dev and there are no build instructions for this repo so I just slapped this together:
Build Environment
Project files:
To rebuild the Gem with your changes, and rebuild the PDF:
Contents of
main.rb
:Results
The current codebase results in the following:
Simply commenting out prawn/table/cell/text.rb line 69 gives a better result in my opinion:
The text was updated successfully, but these errors were encountered: