]> source.dussan.org Git - redmine.git/commitdiff
PDF: add *SJIS* and *Shift_JIS* in lib/redmine/export/pdf.rb for Japanese ja.yml...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 8 Jun 2011 13:44:06 +0000 (13:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 8 Jun 2011 13:44:06 +0000 (13:44 +0000)
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

lib/redmine/export/pdf.rb

index 98f045679403b9416141f489d7bc0bbd546c98bc..18bdd5aa2a19f8d2b5c003ed240a7ed7e2591800 100644 (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'