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)
51 51

  
52 52
        def SetFontStyle(style, size)
53 53
          style.delete!('B') if current_language.to_s.downcase == 'th' # FreeSerif Bold Thai font has problem.
54
          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.
54 55
          set_font(@font_for_content, style, size)
55 56
        end
56 57

  
(7-7/11)