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
This commit is contained in:
Toshi MARUYAMA 2011-06-08 13:44:06 +00:00
parent 283db475e1
commit 521461f5b8
1 changed files with 1 additions and 1 deletions

View File

@ -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'