Install ImageMagick
1
yum install ImageMagick ImageMagick-devel
Gem install rmagick
Gemfile:1
gem 'rmagick', '~> 2.15', '>= 2.15.4'
Run:
1
bundle install
Find out which fonts support CJK Language you expected:
1
fc-list :lang=zh
Add the font path to config/configuration.yml
1
minimagick_font_path: /usr/share/fonts/wqy-microhei/wqy-microhei.ttc
Restart your redmine, It’s done!
BONUS
user-profile set to English, export pdf in CJK
modify config/locales/en.yml1
2
3
4#general_csv_encoding: ISO-8859-1
general_csv_encoding: UTF-8
#general_pdf_fontname: freesans
general_pdf_fontname: stsongstdlight