매트랩 실행 시 글자 깨짐 현상은 어떻게 해결해야합니까?

밑에 그림과 같이 글자가 깨져서 보이는건 어떻게 해야하나요?

댓글 수: 1

Rik
Rik 2021년 1월 14일
[removed from spam filter]

댓글을 달려면 로그인하십시오.

답변 (1개)

Angelo Yeo
Angelo Yeo 2023년 11월 27일
편집: Angelo Yeo 2023년 11월 27일

0 개 추천

Unfortunately, there is no good way to work around problem other than to set the following properties of charts with a set(0, "DefaultX") call in startup.m
set (0, 'defaultUicontrolFontName' , '맑은고딕')
set (0, 'defaultUitableFontName' , '맑은고딕')
set (0, 'defaultAxesFontName' , '맑은고딕')
set (0, 'defaultTextFontName' , '맑은고딕')
set (0, 'defaultUipanelFontName' , '맑은고딕')
But, the ability to set the properties of charts with a set(0, "DefaultX") call in startup.m is not available in Charts like confusionchart (also heatmap, wordcloud, geobubble etc) don't respect the default axes settings because they aren't axes.
Fundamentally, the problem occurs when you have Helvetica font installed on your machine. Once removing the font, it will solve the problem. However, Helvetica is a licensed font which you presumably paid for, either directly, or as part of another application.
What is happening is that the graphics code tries to use Helvetica. If Helvetica is not available we substitute the Java sansserif font. These are "logical" fonts so get mapped to appropriate "physical" fonts on the system. This mapping is handled by fontconfig.properties file. However, if Helvetica is available it will use the installed Helvetica font -- which does not support Korean characters.
If you decide to remove Helvetica font installed on your machine, here is the way to remove to resolve this issue thoroughly.
1. Run CMD as administrator
2. In the Command Prompt, delete the all following Helvetica font names which can be checked in the properties window by right click from each Helvetica fonts under the C:\Windows\Fonts\Helvetica folder.
14461.ttf
14462.ttf
14460.ttf
14459.ttf
13726.ttf
13728.ttf
13729.ttf
13727.ttf
14526.ttf
14528.ttf
14529.ttf
14527.ttf
3. Go to the following registry table of windows
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
4. Change the Data from Helvetica to Arial while keeping the name as Helvetica by right click and choosing Modify.
5. Restart MATLAB to see whether it works.

카테고리

도움말 센터File Exchange에서 제품 관리에 대해 자세히 알아보기

제품

릴리스

R2020b

태그

질문:

2021년 1월 14일

편집:

2023년 11월 27일

Community Treasure Hunt

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

Start Hunting!