Project

General

Profile

Actions

Defect #10554

closed

Defect symbols when exporting tasks in pdf

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

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

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


Files

export.pdf (327 KB) export.pdf Sample pdf export file Александр Закревский, 2012-03-28 13:14
export.csv (1.14 KB) export.csv The same exported to CSV Александр Закревский, 2012-03-28 13:14
tcpdf_automatic_line_break_bug_fix_r9311.patch (1.58 KB) tcpdf_automatic_line_break_bug_fix_r9311.patch Jun NAITOH, 2012-04-03 12:55
before_patch.png (54.7 KB) before_patch.png Jun NAITOH, 2012-04-03 12:55
after_patch.png (51.9 KB) after_patch.png Jun NAITOH, 2012-04-03 12:55
1.3-stable-r9314.pdf (317 KB) 1.3-stable-r9314.pdf Toshi MARUYAMA, 2012-04-04 14:25
1.3-stable-r9322.pdf (317 KB) 1.3-stable-r9322.pdf Toshi MARUYAMA, 2012-04-04 14:25
trunk-r9321.pdf (315 KB) trunk-r9321.pdf Toshi MARUYAMA, 2012-04-04 14:25

Related issues

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

Actions
Actions #1

Updated by Yuri Makarov over 12 years ago

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

Actions #2

Updated by Jun NAITOH over 12 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.

Actions #3

Updated by Toshi MARUYAMA over 12 years ago

  • Assignee set to Toshi MARUYAMA
  • Target version set to 1.4.0
Actions #4

Updated by Toshi MARUYAMA over 12 years ago

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

Updated by Toshi MARUYAMA over 12 years ago

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

Actions #6

Updated by Toshi MARUYAMA over 12 years ago

  • Target version changed from 1.4.0 to 1.3.3
Actions

Also available in: Atom PDF