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

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

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 9 Juin 2026
Modifié(e) : MathWorks Support Team le 9 Juin 2026

2 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur 外部言語インターフェイス dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!