summaryrefslogtreecommitdiffstats
path: root/lib/redmine/export
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-08 13:44:06 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-08 13:44:06 +0000
commit521461f5b851d6faf65d7a2e8cd702e275db20a2 (patch)
treeb9a0a21e8693926fcc3207bd0899bc494a27f285 /lib/redmine/export
parent283db475e1ef70589f6e57c4a5876530f602ae7a (diff)
downloadredmine-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.rb2
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'