mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
pdf: use all lower cases for DejaVuSansMono (#19017)
git-svn-id: http://svn.redmine.org/redmine/trunk@14963 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
abea7c2d30
commit
e6b7c73169
@ -56,7 +56,7 @@ module Redmine
|
|||||||
# DejaVuSans Italic Arabic and Persian font has problem.
|
# 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
|
style.delete!('I') if family.to_s.casecmp('dejavusans') == 0 && current_language.to_s.casecmp("vi") != 0
|
||||||
# DejaVuSansMono Italic Arabic font has problem
|
# 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)
|
super(family, style, size, fontfile)
|
||||||
end
|
end
|
||||||
alias_method :set_font, :SetFont
|
alias_method :set_font, :SetFont
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user