OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3996d5f
)
Merged r6010 from trunk.
author
Toshi MARUYAMA
<marutosijp2@yahoo.co.jp>
Wed, 8 Jun 2011 23:52:43 +0000
(23:52 +0000)
committer
Toshi MARUYAMA
<marutosijp2@yahoo.co.jp>
Wed, 8 Jun 2011 23:52:43 +0000
(23:52 +0000)
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
patch
|
blob
|
history
diff --git
a/lib/redmine/export/pdf.rb
b/lib/redmine/export/pdf.rb
index
98f0456
..
18bdd5a
100644
(file)
--- 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'