summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-12-06 12:38:05 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-12-06 12:38:05 +0000
commit9820c3a8e3985625eac7babefbf9ba91cea000ac (patch)
tree05b8f30d3bb3b53abe02f7797254159b0f305d86
parent3eb2ad661724d4e27e36e29b75bfb7f153b473fd (diff)
Merged r14963 from trunk to 3.2-stable (#19017)
pdf: use all lower cases for DejaVuSansMono. git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@14964 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 049719882..d14bbd816 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -56,7 +56,7 @@ module Redmine
# DejaVuSans Italic Arabic and Persian font has problem.
style.delete!('I') if family.to_s.casecmp('dejavusans') == 0 && current_language.to_s.casecmp("vi") != 0
# DejaVuSansMono Italic Arabic font has problem
- style.delete!('I') if family.to_s.casecmp('Dejavusansmono') == 0
+ style.delete!('I') if family.to_s.casecmp('dejavusansmono') == 0
super(family, style, size, fontfile)
end
alias_method :set_font, :SetFont