summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-01-18 10:06:09 +0000
committerGo MAEDA <maeda@farend.jp>2020-01-18 10:06:09 +0000
commit775e494ae37a3082e98cee8b7faaf1c92e83b506 (patch)
tree964a3b1b07e520539167f0df0c13c7f3fd642597 /lib
parent81845dd3f5e531e6f30cdd9841f0af71e4713268 (diff)
downloadredmine-775e494ae37a3082e98cee8b7faaf1c92e83b506.tar.gz
redmine-775e494ae37a3082e98cee8b7faaf1c92e83b506.zip
Merged r19435 from trunk to 4.1-stable (#32832).
git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19436 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/export/pdf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb
index 987f2b989..e4553e48a 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -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.