@@ -55,6 +55,8 module Redmine | |||||
55 | style.delete!('B') if family.to_s.casecmp('freeserif') == 0 |
|
55 | style.delete!('B') if family.to_s.casecmp('freeserif') == 0 | |
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 | |||
|
59 | style.delete!('I') if family.to_s.casecmp('Dejavusansmono') == 0 | |||
58 | super(family, style, size, fontfile) |
|
60 | super(family, style, size, fontfile) | |
59 | end |
|
61 | end | |
60 | 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