Index: config/configuration.yml.example =================================================================== --- config/configuration.yml.example (revision 13446) +++ config/configuration.yml.example (working copy) @@ -169,6 +169,21 @@ # rmagick_font_path: + # Configuration of PDF font for non CJKV(and Thai) locale. + # Examples for Vietnamese: + # pdf_font_name: DejaVuSans + # Examples for Japanese: + # pdf_font_name: kozminproregular + # Examples for Traditional Chinese (BIG5): + # pdf_font_name: msungstdlight + # Examples for Simplified Chinese (GB18030) + # pdf_font_name: stsongstdlight + # Examples for Korean (UHC) + # pdf_font_name: hysmyeongjostdmedium + # Examples for Thai + # pdf_font_name: freeserif + pdf_font_name: + # Maximum number of simultaneous AJAX uploads #max_concurrent_ajax_uploads: 2 Index: lib/redmine/export/pdf.rb =================================================================== --- lib/redmine/export/pdf.rb (revision 13446) +++ lib/redmine/export/pdf.rb (working copy) @@ -59,8 +59,8 @@ @font_for_content = 'freeserif' @font_for_footer = 'freeserif' else - @font_for_content = 'freesans' - @font_for_footer = 'freesans' + @font_for_content = Redmine::Configuration['pdf_font_name'] || 'freesans' + @font_for_footer = Redmine::Configuration['pdf_font_name'] || 'freesans' end set_creator(Redmine::Info.app_name) set_font(@font_for_content)