Defect #13781 » pdf_font_name_r13446.patch
| config/configuration.yml.example (working copy) | ||
|---|---|---|
|
#
|
||
|
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
|
||
| lib/redmine/export/pdf.rb (working copy) | ||
|---|---|---|
|
@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)
|
||
- « Previous
- 1
- 2
- 3
- Next »