@@ -56,7 +56,7 module Redmine | |||||
56 | # DejaVuSans Italic Arabic and Persian font has problem. |
|
56 | # DejaVuSans Italic Arabic and Persian font has problem. | |
57 | style.delete!('I') if family.to_s.casecmp('dejavusans') == 0 && current_language.to_s.casecmp("vi") != 0 |
|
57 | style.delete!('I') if family.to_s.casecmp('dejavusans') == 0 && current_language.to_s.casecmp("vi") != 0 | |
58 | # DejaVuSansMono Italic Arabic font has problem |
|
58 | # DejaVuSansMono Italic Arabic font has problem | |
59 |
style.delete!('I') if family.to_s.casecmp(' |
|
59 | style.delete!('I') if family.to_s.casecmp('dejavusansmono') == 0 | |
60 | super(family, style, size, fontfile) |
|
60 | super(family, style, size, fontfile) | |
61 | end |
|
61 | end | |
62 | alias_method :set_font, :SetFont |
|
62 | alias_method :set_font, :SetFont |
General Comments 0
You need to be logged in to leave comments.
Login now