diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-12-04 05:43:21 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-12-04 05:43:21 +0000 |
commit | 367c417b5e30d7e14218469e82d85949aa85f8ba (patch) | |
tree | d98d7c5423feafde41c81a49906f68f56b9071c9 /lib | |
parent | 0ce1c05df1c22b742577400338411fc72aa4c7b7 (diff) | |
download | redmine-367c417b5e30d7e14218469e82d85949aa85f8ba.tar.gz redmine-367c417b5e30d7e14218469e82d85949aa85f8ba.zip |
pdf: use l(:general_pdf_monospaced_fontname) (#19017)
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@14910 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/export/pdf.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 9471ae015..0d8e2fc38 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -35,13 +35,14 @@ module Redmine set_rtl(l(:direction) == 'rtl') @font_for_content = l(:general_pdf_fontname) + @monospaced_font_for_content = l(:general_pdf_monospaced_fontname) @font_for_footer = l(:general_pdf_fontname) set_creator(Redmine::Info.app_name) set_font(@font_for_content) set_header_font([@font_for_content, '', 10]) set_footer_font([@font_for_content, '', 8]) - set_default_monospaced_font(@font_for_content) + set_default_monospaced_font(@monospaced_font_for_content) set_display_mode('default', 'OneColumn') end |