##// END OF EJS Templates
pdf: fix Vietnamese Italic is not shown (#21328)...
Toshi MARUYAMA -
r14506:41c64d126653
parent child
Show More
@@ -53,7 +53,7 module Redmine
53 # FreeSerif Bold Thai font has problem.
53 # FreeSerif Bold Thai font has problem.
54 style.delete!('B') if l(:general_pdf_fontname) == 'freeserif'
54 style.delete!('B') if l(:general_pdf_fontname) == 'freeserif'
55 # DejaVuSans Italic Arabic and Persian font has problem.
55 # DejaVuSans Italic Arabic and Persian font has problem.
56 style.delete!('I') if l(:general_pdf_fontname) == 'DejaVuSans'
56 style.delete!('I') if l(:general_pdf_fontname) == 'DejaVuSans' && current_language.to_s.casecmp("vi") != 0
57 super(family, style, size, fontfile)
57 super(family, style, size, fontfile)
58 end
58 end
59 alias_method :set_font, :SetFont
59 alias_method :set_font, :SetFont
General Comments 0
You need to be logged in to leave comments. Login now