Red Hat® Enterprise Linux® 8 上にて日本語ロケールが選択されると MATLAB が正しくレンダリングされないのはなぜですか?
9 views (last 30 days)
Show older comments
MathWorks Support Team
on 4 Sep 2023
Answered: MathWorks Support Team
on 4 Sep 2023
Red Hat 8.x で ロケールを日本語に設定にして MATLAB を実行すると、ツールストリップ上のラベル/名前が正しく表示されません。
Accepted Answer
MathWorks Support Team
on 4 Sep 2023
この問題は、Java がテキストフォントを認識できないことが原因です。
回避方法:
1. <MATLABインストールフォルダ>/sys/java/jre/glnxa64/jre/lib/fonts に「fallback」ディレクトリを追加します。
2. 次のコマンドを使用して、選択した日本語フォントへのリンクを追加します。
cd fallback
ln -s /usr/share/fonts/google-noto-cjk/NotoSansCJK- Regular.ttc NotoSansCJK- Regular.ttc
すると、「ls」コマンドで以下が表示されます。
NotoSansCJK- Regular.ttc -> /usr/share/fonts/google-noto-cjk/NotoSansCJK- Regular.ttc
3. MATLAB を閉じて再起動します。
フォールバックの詳細については、次の Javadoc を参照してください。
https://docs.oracle.com/javase/jp/8/docs/technotes/guides/intl/font.html
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!