Project

General

Profile

Defect #10681 » pdf_Arabic_Persian.patch

Jun NAITOH, 2014-12-06 16:12

View differences:

lib/redmine/export/pdf.rb (working copy)
def SetFontStyle(style, size)
style.delete!('B') if current_language.to_s.downcase == 'th' # FreeSerif Bold Thai font has problem.
style.delete!('I') if current_language.to_s.downcase == 'fa' or current_language.to_s.downcase == 'ar' # DejaVuSans Italic Arabic and Persian font has problem.
set_font(@font_for_content, style, size)
end
(7-7/11)