Why does MATLAB not render correctly when Japanese locale is selected on Red Hat® Enterprise Linux® 8?
조회 수: 7 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2020년 8월 3일
편집: MathWorks Support Team
2021년 12월 17일
After MATLAB is installed and running with Red Hat 8.x and the locale is set to Japanese, the labels/names on the toolstrip do not render correctly.
채택된 답변
MathWorks Support Team
2021년 12월 17일
편집: MathWorks Support Team
2021년 12월 17일
This issue most likely occurs because Java does not recognize the text font, and is unable to render the correct format, as if the text font is missing altogether.
To resolve this issue:
1. Add "fallback" directory under (matlabroot)/sys/java/jre/glnxa64/jre/lib/fonts
2. Add a link for a Japanese font of your choice with the following commands:
cd fallback
ln -s /usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc NotoSansCJK-Regular.ttc
Then "ls" command displays below:
NotoSansCJK-Regular.ttc -> /usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc
3. Close and relaunch MATLAB
Please refer to the following Javadoc for additional information about fallback:
https://docs.oracle.com/javase/jp/8/docs/technotes/guides/intl/font.html
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!