Project

General

Profile

Actions

Defect #13860

closed

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

Added by Jürgen Diez almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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

ft_steuerung-1104.pdf (310 KB) ft_steuerung-1104.pdf Example of the export Jürgen Diez, 2013-04-24 10:15
pdf.rb.patch (2.66 KB) pdf.rb.patch Jürgen Diez, 2013-07-09 13:51

Related issues

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

Actions
Actions #1

Updated by Toshi MARUYAMA almost 11 years ago

  • Category set to PDF export
Actions #2

Updated by Toshi MARUYAMA over 10 years ago

Actions #3

Updated by Jürgen Diez over 10 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.

Actions #4

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

Actions #5

Updated by Toshi MARUYAMA over 10 years ago

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

Updated by Toshi MARUYAMA over 9 years ago

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

Fixed by #17570.

Actions

Also available in: Atom PDF