diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-11-25 06:55:00 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-11-25 06:55:00 +0000 |
commit | 41c64d12665338fa3e48095b132a1d79baa05119 (patch) | |
tree | 528f5ad968cfdebc1d768bf4c2f4908eee000d7b /lib | |
parent | bae4c68f80b1bad97ffe232f2e107ccb9f40eb78 (diff) | |
download | redmine-41c64d12665338fa3e48095b132a1d79baa05119.tar.gz redmine-41c64d12665338fa3e48095b132a1d79baa05119.zip |
pdf: fix Vietnamese Italic is not shown (#21328)
git-svn-id: http://svn.redmine.org/redmine/trunk@14888 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/export/pdf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index e3861b6f3..8f94b68f2 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -53,7 +53,7 @@ module Redmine # FreeSerif Bold Thai font has problem. style.delete!('B') if l(:general_pdf_fontname) == 'freeserif' # DejaVuSans Italic Arabic and Persian font has problem. - style.delete!('I') if l(:general_pdf_fontname) == 'DejaVuSans' + style.delete!('I') if l(:general_pdf_fontname) == 'DejaVuSans' && current_language.to_s.casecmp("vi") != 0 super(family, style, size, fontfile) end alias_method :set_font, :SetFont |