]> source.dussan.org Git - redmine.git/commitdiff
pdf: use all lower cases for DejaVuSansMono (#19017)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 6 Dec 2015 12:36:19 +0000 (12:36 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 6 Dec 2015 12:36:19 +0000 (12:36 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14963 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/export/pdf.rb

index 04971988269d19257d3c481493a853acff421491..d14bbd81671434548b06a9d1ee655bbc2ed356e7 100644 (file)
@@ -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