Red Hat® Enterprise Linux® で日本語ロケールを選択した場合、MATLAB が正しくレンダリングされないのはなぜですか?

Red Hat 8.x で ロケールを日本語に設定にして MATLAB を実行すると、ツールストリップ上のラベル/名前が正しく表示されません。

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2026년 6월 9일 0:00
편집: MathWorks Support Team 2026년 6월 9일 2:12

2 개 추천

この問題は、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개)

카테고리

도움말 센터File Exchange에서 MATLAB の Java ライブラリ에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!