Defect #10681 » pdf_Arabic_Persian.patch
| 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 | |