summaryrefslogtreecommitdiffstats
path: root/app/helpers/ifpdf_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/ifpdf_helper.rb')
-rw-r--r--app/helpers/ifpdf_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/ifpdf_helper.rb b/app/helpers/ifpdf_helper.rb
index 267f96667..755692f65 100644
--- a/app/helpers/ifpdf_helper.rb
+++ b/app/helpers/ifpdf_helper.rb
@@ -33,6 +33,11 @@ module IfpdfHelper
AddSJISFont()
@font_for_content = 'SJIS'
@font_for_footer = 'SJIS'
+ when :zh
+ extend(PDF_Chinese)
+ AddBig5Font()
+ @font_for_content = 'Big5'
+ @font_for_footer = 'Big5'
else
@font_for_content = 'Arial'
@font_for_footer = 'Helvetica'