Project

General

Profile

Defect #35027 ยป 35027.patch

Yuichi HARADA, 2021-04-19 04:29

View differences:

lib/redmine/helpers/gantt.rb
395 395
          Redmine::Configuration['minimagick_font_path'].presence ||
396 396
            Redmine::Configuration['rmagick_font_path'].presence
397 397
        img = MiniMagick::Image.create(".#{format}", false)
398
        if Redmine::Configuration['imagemagick_convert_command'].present?
399
          MiniMagick.cli_path = File.dirname(Redmine::Configuration['imagemagick_convert_command'])
400
        end
398 401
        MiniMagick::Tool::Convert.new do |gc|
399 402
          gc.size('%dx%d' % [subject_width + g_width + 1, height])
400 403
          gc.xc('white')
    (1-1/1)