summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-12-06 12:36:19 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-12-06 12:36:19 +0000
commite6b7c7316977596fa4970d85c580b23263bdbec8 (patch)
treed51f64b584fd4d0ee4c43d72612c5144fb0325a4 /lib
parentabea7c2d30abbe579227f277e87b104d0e370dc4 (diff)
downloadredmine-e6b7c7316977596fa4970d85c580b23263bdbec8.tar.gz
redmine-e6b7c7316977596fa4970d85c580b23263bdbec8.zip
pdf: use all lower cases for DejaVuSansMono (#19017)
git-svn-id: http://svn.redmine.org/redmine/trunk@14963 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-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