mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
pdf: fix Vietnamese Italic is not shown (#21328)
git-svn-id: http://svn.redmine.org/redmine/trunk@14888 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
bae4c68f80
commit
41c64d1266
@ -53,7 +53,7 @@ module Redmine
|
||||
# FreeSerif Bold Thai font has problem.
|
||||
style.delete!('B') if l(:general_pdf_fontname) == 'freeserif'
|
||||
# DejaVuSans Italic Arabic and Persian font has problem.
|
||||
style.delete!('I') if l(:general_pdf_fontname) == 'DejaVuSans'
|
||||
style.delete!('I') if l(:general_pdf_fontname) == 'DejaVuSans' && current_language.to_s.casecmp("vi") != 0
|
||||
super(family, style, size, fontfile)
|
||||
end
|
||||
alias_method :set_font, :SetFont
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user