@@ -55,6 +55,8 module Redmine | |||
|
55 | 55 | style.delete!('B') if family.to_s.casecmp('freeserif') == 0 |
|
56 | 56 | # DejaVuSans Italic Arabic and Persian font has problem. |
|
57 | 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 | 60 | super(family, style, size, fontfile) |
|
59 | 61 | end |
|
60 | 62 | alias_method :set_font, :SetFont |
General Comments 0
You need to be logged in to leave comments.
Login now