Defect #10554

Defect symbols when exporting tasks in pdf

Added by Александр Закревский over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Toshi MARUYAMA% Done:

0%

Category:PDF export
Target version:1.3.3
Resolution:Fixed Affected version:1.3.2

Description

Some fields of PDF file have defect symbols that look like (?) sign instead of russian letters "о" and "й". CSV export seems to look fine.

Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.8.17
Rack version 1.1.3
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Edge Rails revision unknown
Application root /var/www/redmine
Environment production
Database adapter mysql 5.0.95
Database schema version 20110902000000

export.pdf - Sample pdf export file (327 KB) Александр Закревский, 2012-03-28 13:14

export.csv Magnifier - The same exported to CSV (1.14 KB) Александр Закревский, 2012-03-28 13:14

tcpdf_automatic_line_break_bug_fix_r9311.patch Magnifier (1.58 KB) Jun NAITOH, 2012-04-03 12:55

before_patch.png (54.7 KB) Jun NAITOH, 2012-04-03 12:55

after_patch.png (51.9 KB) Jun NAITOH, 2012-04-03 12:55

1.3-stable-r9314.pdf (317 KB) Toshi MARUYAMA, 2012-04-04 14:25

1.3-stable-r9322.pdf (317 KB) Toshi MARUYAMA, 2012-04-04 14:25

trunk-r9321.pdf (315 KB) Toshi MARUYAMA, 2012-04-04 14:25


Related issues

Related to Redmine - Patch #10464: Enhanced PDF output for Issues list Closed

Associated revisions

Revision 9312
Added by Toshi MARUYAMA over 5 years ago

pdf: fix tcpdf automatic line break bug (#10554)

Contributed by Jun NAITOH.

Revision 9322
Added by Toshi MARUYAMA over 5 years ago

Merge r9312 from trunk

pdf: fix tcpdf automatic line break bug (#10554)

Contributed by Jun NAITOH.

History

#1 Updated by Yuri Makarov over 5 years ago

This defect occurs in word breaks in UTF encoding.
This defect will be significantly reduced in 1.4.0
See Issue #10464

#2 Updated by Jun NAITOH over 5 years ago

I'm sorry. This problem is caused by #8310.
I mistook logic of automatic line break with UTF-8 multibyte character.

I reproduced Japanese PDF with "general_pdf_encoding: UTF-8" setting.

I wrote patch.

#3 Updated by Toshi MARUYAMA over 5 years ago

  • Assignee set to Toshi MARUYAMA
  • Target version set to 1.4.0

#4 Updated by Toshi MARUYAMA over 5 years ago

  • Subject changed from Defect symbols when exporting tasks in pdf in Russian locale. to Defect symbols when exporting tasks in pdf

#5 Updated by Toshi MARUYAMA over 5 years ago

I committed in trunk r9312 and 1.3-stable r9322, thanks.

#6 Updated by Toshi MARUYAMA over 5 years ago

  • Target version changed from 1.4.0 to 1.3.3

Also available in: Atom PDF