@@ -53,8 +53,10 module Redmine | |||
|
53 | 53 | end |
|
54 | 54 | |
|
55 | 55 | def SetFont(family, style='', size=0, fontfile='') |
|
56 |
|
|
|
57 | style.delete!('I') if current_language.to_s.downcase =~ /^(fa|ar)$/ # DejaVuSans Italic Arabic and Persian font has problem. | |
|
56 | # FreeSerif Bold Thai font has problem. | |
|
57 | style.delete!('B') if l(:general_pdf_fontname) == 'freeserif' | |
|
58 | # DejaVuSans Italic Arabic and Persian font has problem. | |
|
59 | style.delete!('I') if l(:general_pdf_fontname) == 'DejaVuSans' | |
|
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