Project

General

Profile

Actions

Defect #22807

open

rbpdf 1.19.0 breaks the encoding

Added by Pavel Rosický almost 8 years ago. Updated almost 8 years ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

env
ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
redmine 3.2.2 stable
general_pdf_fontname: freesans
no plugins

Can't properly export czech characters to pdf since Redmine 3.2.0
example: příliš žluťoučký kůň

Forcing previous version of rbpdf gem fixes the issue
gem "rbpdf", "1.18.7"


Files

brokenenc.png (14.4 KB) brokenenc.png rbpdf 1.19.0 Pavel Rosický, 2016-05-12 16:25
correctenc.png (15.7 KB) correctenc.png rbpdf 1.18.7 Pavel Rosický, 2016-05-12 16:25
pro1-2.png (25.1 KB) pro1-2.png Toshi MARUYAMA, 2016-05-12 18:32
pro1-2.pdf (95.7 KB) pro1-2.pdf Toshi MARUYAMA, 2016-05-12 18:32

Related issues

Related to Redmine - Defect #22077: PDF issue exportNeeds feedback

Actions
Actions #1

Updated by Toshi MARUYAMA almost 8 years ago

I cannot reproduce on Redmine 3.2.2 ruby 2.1.10p492 (2016-04-01 revision 54464) [x86_64-linux].

Actions #2

Updated by Pavel Rosický almost 8 years ago

I found out that it's browser related.

Adobe Acrobat - both pdfs are correcty encoded
TWINUI (windows) - 1.18.7 (ok), 1.19.0 (wrong)

Actions #3

Updated by Toshi MARUYAMA almost 8 years ago

Actions

Also available in: Atom PDF