Defect #13860
closedText of custom fields is not wrapped in PDF exports of issues
0%
Description
The text of custom text fields is not wrapped in PDF exports of a single issue. They are printed in a single line.
Therefore the PDF export, which whould be a very helpful feature, is useless for me.
I'm using the Bitnami Redmine 2.2.0.
My language is set to German.
About your application's environment
Ruby version 1.9.3 (i386-mingw32)
RubyGems version 1.8.23
Rack version 1.4
Rails version 3.2.11
Active Record version 3.2.11
Action Pack version 3.2.11
Active Resource version 3.2.11
Action Mailer version 3.2.11
Active Support version 3.2.11
Middleware ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x1a53320>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Reloader, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication
Application root C:/BitNami/redmine-2.2.2-0/apps/redmine/htdocs
Environment development
Database adapter mysql2
Database schema version 20121026003537
Thanks for your great work.
Let me know if you need more information.
Files
Related issues
Updated by Toshi MARUYAMA over 11 years ago
There is a post with some codes.
http://www.redmine.org/boards/2/topics/38434?r=38548#message-38548
Updated by Jürgen Diez over 11 years ago
- File pdf.rb.patch pdf.rb.patch added
Thanks for the link.
Based on the information given there I tried to fix the issue with the attached patch based on version 2.2.0.
I didn't know how to calculate the text box height in advance that's why I had to draw them twice in order to draw odd lines with a different background color.
Updated by yu xiaohang over 11 years ago
Juergen Diez wrote:
Thanks for the link.
Based on the information given there I tried to fix the issue with the attached patch based on version 2.0.0.I didn't know how to calculate the text box height in advance that's why I had to draw them twice in order to draw odd lines with a different background color.
its seem like this problem had not fixed in 2.3.0, i applied patch but it cause a internal error problem when i click PDF link
Updated by Toshi MARUYAMA about 11 years ago
- Related to Defect #11839: Text overlay when exporting issues to pdf files added
Updated by Toshi MARUYAMA about 10 years ago
- Status changed from New to Closed
- Target version set to 2.6.0
- Resolution set to Fixed
Fixed by #17570.