Defect #4787 » png_rmagick_font_path_r8987.patch
| config/configuration.yml.example (working copy) | ||
|---|---|---|
|
# * encrypt data using 'rake db:encrypt RAILS_ENV=production'
|
||
|
database_cipher_key:
|
||
|
# Configuration of RMagcik font.
|
||
|
# Examples:
|
||
|
# rmagick_font_path: C:\windows\fonts\msgothic.ttc
|
||
|
# rmagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf
|
||
|
rmagick_font_path:
|
||
|
# specific configuration options for production environment
|
||
|
# that overrides the default ones
|
||
|
production:
|
||
| lib/redmine/helpers/gantt.rb (working copy) | ||
|---|---|---|
|
imgl = Magick::ImageList.new
|
||
|
imgl.new_image(subject_width+g_width+1, height)
|
||
|
gc = Magick::Draw.new
|
||
|
gc.font = Redmine::Configuration['rmagick_font_path'] || ""
|
||
|
# Subjects
|
||
|
gc.stroke('transparent')
|
||