Export russian symbols to PDF
Added by Nikolay Kovbasa almost 16 years ago
I used BitNami Stack Redmine 0.8.0-0 for Windows XP, and found that russan symbols are rendered wrong in pdf.
Solution this problem described in http://www.redmine.org/boards/2/topics/show/1400#message-2234.
I downloaded edwinmoss-rfpdf-c0add21e1438e6aad517dcfb61af92628d6e9c39.zip, replaced files in redmine\vendor\plugins\rfpdf, applied patch.
In result I have received attached PDF file. This file is broken, but Acrobat Reader open it.
Help me, please, resolved this problem!
issues.pdf (301 KB) issues.pdf |
Replies (1)
RE: Export russian symbols to PDF - Added by Nikolay Kovbasa almost 16 years ago
Problem found in tcpdf.
My changes very small
file redmine\vendor\plugins\rfpdf\lib\tcpdf.rb
out('/Filter /FlateDecode');
end
out('>>');
- open(ctgfile) do |f|
+ open(ctgfile, 'rb') do |f|
putstream(f.read())