Korean letters turn to # in pdf

4 Ansichten (letzte 30 Tage)
Kim
Kim am 7 Okt. 2024
Kommentiert: Kim am 8 Okt. 2024
I do Publish .m file to pdf but each Korean letters change to # in pdf. Any fix for this?
  2 Kommentare
Stephen23
Stephen23 am 7 Okt. 2024
A workaround that I tested just now:
  1. publish to HTML,
  2. print the HTML to PDF.
Kim
Kim am 8 Okt. 2024

Thanks you both for answers

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Sreeram
Sreeram am 7 Okt. 2024
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!

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by