Merged r6010 from trunk.

PDF: add *SJIS* and *Shift_JIS* in lib/redmine/export/pdf.rb for Japanese ja.yml general_pdf_encoding.

JRuby 1.6.2 (ruby-1.8.7-p330) does not support CP932.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6014 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-06-08 23:52:43 +00:00
parent 3996d5f42e
commit 6280d9e9b2
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'