Index: config/configuration.yml.example =================================================================== --- config/configuration.yml.example (revision 8987) +++ config/configuration.yml.example (working copy) @@ -148,6 +148,12 @@ # * 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: Index: lib/redmine/helpers/gantt.rb =================================================================== --- lib/redmine/helpers/gantt.rb (revision 8987) +++ lib/redmine/helpers/gantt.rb (working copy) @@ -409,6 +409,7 @@ 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')