summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-12-05 04:16:54 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-12-05 04:16:54 +0000
commit741a967a4677a2399207bb329a42839d74d4247c (patch)
tree5eb75d5fb19fdd2e7e7cf902ee27f010397d15ba
parentf7058ef8a061fc91ea78a6ca9c0d32e3bff998f9 (diff)
downloadredmine-741a967a4677a2399207bb329a42839d74d4247c.tar.gz
redmine-741a967a4677a2399207bb329a42839d74d4247c.zip
Merged r14888 from trunk to 3.0-stable (#21328)
pdf: fix Vietnamese Italic is not shown. git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14924 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--lib/redmine/export/pdf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb
index dd7c91d4b..5cf2d554c 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -52,7 +52,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