From 6280d9e9b2c9f0942d10d20062f1b12d8774ab3f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 8 Jun 2011 23:52:43 +0000 Subject: [PATCH] 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 --- lib/redmine/export/pdf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- 2.39.5