diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index d6f247ec..ccfd3421 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -179,8 +179,7 @@ module Redmine # Returns a PDF string of a list of issues def issues_to_pdf(issues, project, query) - if Redmine::Platform.mswin? || - ( current_language.to_s.downcase == 'ko' || + if ( current_language.to_s.downcase == 'ko' || current_language.to_s.downcase == 'ja' || current_language.to_s.downcase == 'zh' || current_language.to_s.downcase == 'zh-tw' || @@ -259,8 +258,7 @@ module Redmine # Returns a PDF string of a single issue def issue_to_pdf(issue) - if Redmine::Platform.mswin? || - ( current_language.to_s.downcase == 'ko' || + if ( current_language.to_s.downcase == 'ko' || current_language.to_s.downcase == 'ja' || current_language.to_s.downcase == 'zh' || current_language.to_s.downcase == 'zh-tw' || diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index bc0fafe4..6b891999 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -511,8 +511,7 @@ module Redmine end if Object.const_defined?(:Magick) def to_pdf - if Redmine::Platform.mswin? || - ( current_language.to_s.downcase == 'ko' || + if ( current_language.to_s.downcase == 'ko' || current_language.to_s.downcase == 'ja' || current_language.to_s.downcase == 'zh' || current_language.to_s.downcase == 'zh-tw' ||