##// END OF EJS Templates
PDF: set enable to use TCPDF UTF-8 on Windows except CJK and Thai (#61)....
Toshi MARUYAMA -
r5171:859e8ae8283b
parent child
Show More
@@ -179,8 +179,7 module Redmine
179 179
180 180 # Returns a PDF string of a list of issues
181 181 def issues_to_pdf(issues, project, query)
182 if Redmine::Platform.mswin? ||
183 ( current_language.to_s.downcase == 'ko' ||
182 if ( current_language.to_s.downcase == 'ko' ||
184 183 current_language.to_s.downcase == 'ja' ||
185 184 current_language.to_s.downcase == 'zh' ||
186 185 current_language.to_s.downcase == 'zh-tw' ||
@@ -259,8 +258,7 module Redmine
259 258
260 259 # Returns a PDF string of a single issue
261 260 def issue_to_pdf(issue)
262 if Redmine::Platform.mswin? ||
263 ( current_language.to_s.downcase == 'ko' ||
261 if ( current_language.to_s.downcase == 'ko' ||
264 262 current_language.to_s.downcase == 'ja' ||
265 263 current_language.to_s.downcase == 'zh' ||
266 264 current_language.to_s.downcase == 'zh-tw' ||
@@ -507,8 +507,7 module Redmine
507 507 end if Object.const_defined?(:Magick)
508 508
509 509 def to_pdf
510 if Redmine::Platform.mswin? ||
511 ( current_language.to_s.downcase == 'ko' ||
510 if ( current_language.to_s.downcase == 'ko' ||
512 511 current_language.to_s.downcase == 'ja' ||
513 512 current_language.to_s.downcase == 'zh' ||
514 513 current_language.to_s.downcase == 'zh-tw' ||
General Comments 0
You need to be logged in to leave comments. Login now