Red Hat® Enterprise Linux® 8 上にて日本語ロケールが選択されると MATLAB が正しくレンダリングされないのはなぜですか?
4 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2023 年 9 月 4 日
回答済み: MathWorks Support Team
2023 年 9 月 4 日
Red Hat 8.x で ロケールを日本語に設定にして MATLAB を実行すると、ツールストリップ上のラベル/名前が正しく表示されません。
採用された回答
MathWorks Support Team
2023 年 9 月 4 日
この問題は、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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!