summaryrefslogtreecommitdiffstats
path: root/lib/redmine/helpers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-02 08:01:47 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-02 08:01:47 +0000
commit859e8ae8283bf52bd6f221264e8cd5be7a1a4cfa (patch)
tree07ad55ba0c7f172a83b29097f0a6518db6e1dfd5 /lib/redmine/helpers
parent2b899b73ada88a0726262a74b990e766dedba537 (diff)
downloadredmine-859e8ae8283bf52bd6f221264e8cd5be7a1a4cfa.tar.gz
redmine-859e8ae8283bf52bd6f221264e8cd5be7a1a4cfa.zip
PDF: set enable to use TCPDF UTF-8 on Windows except CJK and Thai (#61).
Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5291 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/helpers')
-rw-r--r--lib/redmine/helpers/gantt.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index 8a03af0f7..d6600bfe7 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -507,8 +507,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' ||