pdf-writer
pdf-writer copied to clipboard
Implemented Ruby 2.0 compatibility
any updated on this? seems this was opened 3 years ago and there is no comment . Is this something that still needs merging? Are there any plans of merging this?
@bogdanRada I've moved on to prawn for generating PDF's since opening this ticket. My guess is that this project's pretty much end-of-life.
:( that's sad to hear. Ok. I will try Prawn. Thanks for suggestion.
If you absolutely need pdf-writer, you can use my fork. It mostly works, but not all edge-cases covered. My initial goal was to quickly port an existing Rails 1 project to Rails 4, which was accomplished. Then we ported the PDF generation in the project to Prawn in subsequent sprints. Prawn has much better encoding support and most likely why this project's gone dormant.
ok. Thanks. Well honestly i only needed it for measuring the width of a string using Verdana as font family, and after spending few hours trying to make this gem somehow detect the font path, i gave up and switched to prawn as you suggested. The changes are already here: https://github.com/bogdanRada/ruby-gem-downloads-badge/blob/feature/show-default-template-in-case-shields.io-down/lib/svg_template.rb#L42
Although I admit i liked this gem better because is more intuitive and uses standard Ruby classes instead of using a DSL . Prawn uses a DSL mostly but the documentation is poorly written and i had to search through the code to find what i need.
Would really love to see this gem updated honestly. The manual for this gem is really great, Everything is explained very good.