Defect #4787 » png_rmagick_font_path_r10851.patch
| config/configuration.yml.example | ||
|---|---|---|
|
# the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
|
||
|
#imagemagick_convert_command:
|
||
|
# 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 | ||
|---|---|---|
|
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')
|
||
|
subjects(:image => gc, :top => (headers_height + 20), :indent => 4, :format => :image)
|
||
- « Previous
- 1
- …
- 6
- 7
- 8
- Next »