Defect #13860

Text of custom fields is not wrapped in PDF exports of issues

Added by Jürgen Diez almost 5 years ago. Updated over 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:PDF export
Target version:2.6.0
Resolution:Fixed Affected version:2.2.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.

ft_steuerung-1104.pdf - Example of the export (310 KB) Jürgen Diez, 2013-04-24 10:15

pdf.rb.patch Magnifier (2.66 KB) Jürgen Diez, 2013-07-09 13:51


Related issues

Related to Redmine - Defect #11839: Text overlay when exporting issues to pdf files Confirmed

History

#1 Updated by Toshi MARUYAMA almost 5 years ago

  • Category set to PDF export

#3 Updated by Jürgen Diez over 4 years ago

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.

#4 Updated by yu xiaohang over 4 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

#5 Updated by Toshi MARUYAMA over 4 years ago

  • Related to Defect #11839: Text overlay when exporting issues to pdf files added

#6 Updated by Toshi MARUYAMA over 3 years ago

  • Status changed from New to Closed
  • Target version set to 2.6.0
  • Resolution set to Fixed

Fixed by #17570.

Also available in: Atom PDF