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