diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-08 13:44:06 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-08 13:44:06 +0000 |
commit | 521461f5b851d6faf65d7a2e8cd702e275db20a2 (patch) | |
tree | b9a0a21e8693926fcc3207bd0899bc494a27f285 /lib/redmine/export | |
parent | 283db475e1ef70589f6e57c4a5876530f602ae7a (diff) | |
download | redmine-521461f5b851d6faf65d7a2e8cd702e275db20a2.tar.gz redmine-521461f5b851d6faf65d7a2e8cd702e275db20a2.zip |
PDF: add *SJIS* and *Shift_JIS* in lib/redmine/export/pdf.rb for Japanese ja.yml general_pdf_encoding (#8565, #61).
JRuby 1.6.2 (ruby-1.8.7-p330) does not support CP932.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6010 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/export')
-rw-r--r-- | lib/redmine/export/pdf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 98f045679..18bdd5aa2 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -49,7 +49,7 @@ module Redmine AddUHCFont() @font_for_content = 'UHC' @font_for_footer = 'UHC' - when 'CP932' + when 'CP932', 'SJIS', 'Shift_JIS' extend(PDF_Japanese) AddSJISFont() @font_for_content = 'SJIS' |