Red Hat® Enterprise Linux® 8 上にて日本語ロケールが選択されると MATLAB が正しくレンダリングされないのはなぜですか?
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 4 Set 2023
Risposto: MathWorks Support Team
il 4 Set 2023
Red Hat 8.x で ロケールを日本語に設定にして MATLAB を実行すると、ツールストリップ上のラベル/名前が正しく表示されません。
Risposta accettata
MathWorks Support Team
il 4 Set 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 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!