Patch #3231 ยป redmine-0.8.3-png-font.patch
| ./lib/redmine/helpers/gantt.rb 2009-04-23 20:40:14.000000000 +0900 | ||
|---|---|---|
|
imgl = Magick::ImageList.new
|
||
|
imgl.new_image(subject_width+g_width+1, height)
|
||
|
gc = Magick::Draw.new
|
||
|
# if extra/custom.ttf exists.
|
||
|
gc.font = File.expand_path('extra/custom.ttf', RAILS_ROOT)
|
||
|
|
||
|
# Subjects
|
||
|
top = headers_heigth + 20
|
||