mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
FrozenError when exporting gantt to PDF in some languages (#32832).
Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19435 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -52,6 +52,7 @@ module Redmine
|
||||
end
|
||||
|
||||
def SetFont(family, style='', size=0, fontfile='')
|
||||
style = +style
|
||||
# FreeSerif Bold Thai font has problem.
|
||||
style.delete!('B') if family.to_s.casecmp('freeserif') == 0
|
||||
# DejaVuSans Italic Arabic and Persian font has problem.
|
||||
|
||||
Reference in New Issue
Block a user