0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Redmine(bitnami) > ガントチャートで日本語

Posted at

環境:
bitnami版Redmine
redmine v3.4

以下を参考にした

ガントチャートをPNG形式の画像に出力すると文字化けする — Redmine.JP

font

日本語fontのインストール

apt-get install fonts-ipafont

以下のパスにインストールされた
/usr/share/fonts/truetype

インストールされたフォントは以下の2つ

  • fonts-japanese-gothic.ttf
  • fonts-japanese-mincho.ttf

config

config/configuration.yml 内の rmagick_font_pathにフォントを設定する。
/home/user/apps/redmine/htdocs/config/configuration.yml

config/configuration.yml
rmagick_font_path: /usr/share/fonts/truetype/fonts-japanese-gothic.ttf

再起動

redmine 再起動

sudo /opt/bitnami/ctlscript.sh restart
0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?