Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7914
e93f8b46-1217-0410-a6f0-
8f06a7374b81
require 'fpdf/chinese'
require 'fpdf/japanese'
require 'fpdf/korean'
+require 'core/rmagick'
module Redmine
module Export
attr_accessor :footer_date
def initialize(lang)
+ @@k_path_cache = Rails.root.join('tmp', 'pdf')
+ FileUtils.mkdir_p @@k_path_cache unless File::exist?(@@k_path_cache)
set_language_if_valid lang
pdf_encoding = l(:general_pdf_encoding).upcase
super('P', 'mm', 'A4', (pdf_encoding == 'UTF-8'), pdf_encoding)