https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-03-14T16:30:30ZRedmineRedmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=18052008-03-14T16:30:30ZMaxim Krušina
<ul><li><strong>File</strong> <a href="/attachments/330">redmine-856.pdf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/330/redmine-856.pdf">redmine-856.pdf</a> added</li></ul><p>And here is attached PDF with bad characters...</p> Redmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=24042008-04-23T14:38:56ZNikolay Solakov
<ul></ul><p>I think I found something about this problem:</p>
<p>the fonts in the generated pdf file are Helvetica, Helvetica-Bold and Helvetica-Oblique<br />I don't have these fonts and the Acrobat Reader uses some arial fonts, but it seems they don't support full utf-8.<br />So, the result is broken characters (in my case Bulgarian).<br />JP, if there is a way to change the font in the pdf when exporting it, please try it.</p>
<p>Regards,<br />Nikolay</p> Redmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=25012008-04-29T07:38:50ZMaxim Krušina
<ul></ul><p>Problem is also in encoding, which is set to ANSI, but should be set to UTF-8. Also, it should be good idea to use OpenType fonts, because they are platform-independent (I'm not sure how it's with OpenType on Linux).</p> Redmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=42012008-08-04T13:42:26ZMichael Baikov
<ul></ul><p>There is a new version of rfpdf based on other pdf encoder - <a class="external" href="http://github.com/edwinmoss/rfpdf/tree/master">http://github.com/edwinmoss/rfpdf/tree/master</a><br />I got correct russian letters using it and FreeSans fonts in linux</p> Redmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=42332008-08-06T13:06:30ZThomas Lecavelier
<ul></ul><p>There news about PDF generation.</p>
<ol>
<li>Michael Baikov successfully upgrade Redmine with the latest rfpdf, see this <a href="http://www.redmine.org/boards/2/topics/show/1400" class="external">thread</a></li>
<li>There's a new cool kid in the place: <a href="http://prawn.majesticseacreature.com/" class="external">Prawn</a> is a full ruby PDF generator. Easy usage, nice features (text + images and so on) and of course deal great with UTF-8 and fonts.</li>
</ol>
<p>Could be interesting to compare rfpdf and Prawn...</p> Redmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=42372008-08-06T17:01:43ZGregory Brown
<ul></ul><p>Prawn can definitely handle the PDF output here, at least what I see when I click the PDF button on the bottom right. If someone wants to build a Prawn based patch for Redmine, get in touch and I'll help with whatever you need.</p> Redmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=42412008-08-07T07:09:24ZMichael Baikov
<ul></ul><p>I will try to make a Prawn based patch.</p> Redmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=42442008-08-07T08:12:54ZMichael Baikov
<ul></ul><p>I checked several things. Prawn can be used there, but lacks certain features: bold/italic fonts are most important to make reports identical to those, which created with rfpdf right now. I will add Prawn support to redmine, but i do not want to fix prawn as well :)</p> Redmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=67312009-01-18T12:05:56ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Duplicate</i></li></ul><p>Dup of <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: Broken character encoding in pdf export (Closed)" href="https://www.redmine.org/issues/61">#61</a>.</p> Redmine - Defect #856: Export issue to PDF - broken character encodinghttps://www.redmine.org/issues/856?journal_id=133592009-12-29T17:41:36ZNikolay Kotlyarov
<ul></ul><p>+1 for this issue. Export PDF is broken for Russian language.</p>
<p>Way to reproduce:<br />Select "My account" on the top of this page and change language to Russian or Bulgarian.<br />Then just export any issue from this site to PDF.</p>