Korean letters turn to # in pdf

조회 수: 4 (최근 30일)
Kim
Kim 2024년 10월 7일
댓글: Kim 2024년 10월 8일
I do Publish .m file to pdf but each Korean letters change to # in pdf. Any fix for this?
  댓글 수: 2
Stephen23
Stephen23 2024년 10월 7일
A workaround that I tested just now:
  1. publish to HTML,
  2. print the HTML to PDF.
Kim
Kim 2024년 10월 8일

Thanks you both for answers

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

채택된 답변

Sreeram
Sreeram 2024년 10월 7일
Hi Kim,
I was able to reproduce this issue in MATLAB R2022b.
To work around the issue, consider doing the following:
1. Download the Noto Sans KR font from the website:
2. Extract the ZIP file and navigate to the static folder.
3. The folder contains a list of font files, and all the fonts need to be installed. Right click each font file and choose the option "Install" to install the font. To install for all users, right-click on the font file, select "Show more options," and then choose "Install for all users."
4. Once all the font files are installed, launch MATLAB.
5. Published the input file with the following command to use the installed font:
publish('thefile', 'format', 'pdf', 'bodyFont', 'Noto Sans KR', 'monospaceFont', 'Noto Sans KR', 'titleFont', 'Noto Sans KR')
You may also consider using the font "Malgun Gothic", which should be installed with Windows 11.
publish('thefile', 'format', 'pdf', 'bodyFont', 'Malgun Gothic', 'monospaceFont', 'Malgun Gothic', 'titleFont', 'Malgun Gothic')
I hope it helps!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by