Project

General

Profile

Actions

Patch #5629

closed

Wrap text fields properly in PDF

Added by Hugo Ferreira over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
PDF export
Target version:
Start date:
2010-06-01
Due date:
% Done:

100%

Estimated time:

Description

This patch fixes wrapping problems with text fields (subject and custom text and long text fields) when generating a PDF.

The main fixes were:

Single Issue:
  • wrap subject in both the page title and in the table cell
  • the description was not being printed
  • wrap journal details indicating what changed
Issues List:
  • wrap text in all cells of the table, regardless of type
  • give custom "text" and "long text" fields the same width weight as the subject

Files

wrap_text_fields_in_pdf_r3764.patch (7.38 KB) wrap_text_fields_in_pdf_r3764.patch Patch for wrap text fields in PDF Hugo Ferreira, 2010-06-01 13:47
sandbox-1.pdf (3.15 KB) sandbox-1.pdf Example PDF export of a "Single Issue" Hugo Ferreira, 2010-06-01 13:47
export.pdf (4.42 KB) export.pdf Example PDF export of an "Issues List" Hugo Ferreira, 2010-06-01 13:47
issue5629_wrap_text_fields_in_pdf_r4213.patch (7.17 KB) issue5629_wrap_text_fields_in_pdf_r4213.patch Patch updated for Redmine 1.0.2 Hugo Ferreira, 2010-09-29 02:08
issue5629_wrap_text_fields_in_pdf_r4784.patch (7.46 KB) issue5629_wrap_text_fields_in_pdf_r4784.patch Patch updated for Redmine v1.1.1 (r4784) Hugo Ferreira, 2011-02-01 14:53
chinese.rb.patch (364 Bytes) chinese.rb.patch Jun NAITOH, 2011-04-30 07:39
before_chinese.rb.patch.png (53.5 KB) before_chinese.rb.patch.png Jun NAITOH, 2011-04-30 07:39
after_chinese.rb.patch.png (53.1 KB) after_chinese.rb.patch.png Jun NAITOH, 2011-04-30 07:39

Related issues

Related to Redmine - Defect #61: Broken character encoding in pdf exportClosedToshi MARUYAMA

Actions
Related to Redmine - Defect #7386: NoMethodError on pdf exportClosed2011-01-20

Actions
Has duplicate Redmine - Defect #4686: When exporting to PDF, text should wrap and honor newlines, instead of being constrained to one lineClosed2010-01-28

Actions
Actions

Also available in: Atom PDF