Project

General

Profile

Actions

Feature #17570

closed

use rbpdf gem instead of bundled rfpdf

Added by Jun NAITOH over 10 years ago. Updated about 10 years ago.

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

0%

Estimated time:
Resolution:
Fixed

Description

I updated rfpdf base version to TCPDF 5.1.002 from 1.53.0.TC031 for Redmine trunk.

main feature

  • Use UTF-8 encoding.
  • RTL (Right-To-Left) languages support was added.
  • HTML tag inside table supported.
  • CSS minimum support.
  • Bookmark support.
  • Adhoc Thai language support. (Bold font not support)
  • Image
    • 8bit PNG image support without RMagick liblary.
    • 16bit PNG image support. (use RMagick liblary)
    • Alpha channel PNG image adhoc support. (use RMagick liblary)
    • JPEG image support. (use RMagick liblary)
    • GIF image support. (use RMagick liblary)

fixed issues

  • #8753 : RTL languages supoorted.
  • #14466 : This patch fixed.
  • #13860 : This patch fixed.
  • #13589 : default_table_columns parameter is invalid now.
  • #14599 : Support 16-bit depth PNG images with RMagick libray.
  • #12934 : Support images in tables.
  • #14917 : Supported style of center at Table.

fixed issues (adhoc)

  • #12934 : Supported style of text-align right/center/left attribute, but no vertical-align attribute, yet.
  • #12447 : Convert alpha channel to black.

Gem file

gem install rfpdf

patch

  • lib_redmine.rb_r13333.patch : Gantt/Issues list/Issue/Wiki PDF export patch.
  • config_localse_r13333.patch : general_pdf_encoding is set UTF-8 locale.

my testing environment

  • Redmine trunk (r13333)
  • Ruby 1.8.7-p352/1.9.3-p392/2.0.0-p247/2.1.2
  • CentOS 6/Windows 7

Thanks!


Files

lib_redmine.rb_r13333.patch (31.8 KB) lib_redmine.rb_r13333.patch Jun NAITOH, 2014-07-28 17:30
config_localse_r13333.patch (2.78 KB) config_localse_r13333.patch Jun NAITOH, 2014-07-28 17:30
planio_logo_button_250_no_shadow.png (9.67 KB) planio_logo_button_250_no_shadow.png Felix Schäfer, 2014-07-31 15:52
config_localse_r13339.patch (2.78 KB) config_localse_r13339.patch Jun NAITOH, 2014-08-18 00:57
lib_redmine.rb_r13339.patch (32.1 KB) lib_redmine.rb_r13339.patch Jun NAITOH, 2014-08-18 00:57
rbpdf_example042.pdf (93.9 KB) rbpdf_example042.pdf Jun NAITOH, 2014-08-19 23:15
gantt.png (15.6 KB) gantt.png m mahdi, 2014-11-29 16:12
issues.png (13.6 KB) issues.png m mahdi, 2014-11-29 16:12

Related issues

Related to Redmine - Defect #13781: CJK(Chinese/Japanese/Korean) characters are not shown in PDF on non CJK localesClosed

Actions
Related to Redmine - Defect #13642: PDF bookmark not displayed when contain a non-ascii characterClosed

Actions
Actions

Also available in: Atom PDF