In R2025a, how to add Additional Fonts?

Before R2025a, we can install the font in the \jre\lib\fonts folder where Java® software is installed on your system, for example, C:\Program Files\MATLAB\R2024a\sys\java\jre\win64\jre\lib\fonts. Then, use the font in MATLAB by selecting it in the MATLAB > Fonts settings.
But in R2025a, how to add Additional Fonts. Because it seems that the aforementioned method has become ineffective.

 Accepted Answer

dpb
dpb on 10 Nov 2025
Edited: dpb on 10 Nov 2025
Now MATLAB is supposed to be able to find any compatible system-installed font. See <Add Additional Fonts> for information on what is compatible, etc.
NOTA BENE: You will have to shut down and restart MATLAB after installing the new font because it only refreshes the list on startup and afaik, there's no way to force that. Seems like a big omission in the Settings functionality...why it wouldn't go get the currently-installed list when opening is puzzling.
The former installation in the JRE folder no longer works because with the new desktop, Java isn't used for renderingl so it makes no difference.what is/is not there.

6 Comments

I have installed the font for all users on the system. After restarting MATLAB, I couldn't find this font option in the settings. Perhaps it's because the font is not compatible.
What specific font have you tried installing?
It does, I presume, show up in the OS fonts listing?
YaHei Consolas Hybrid. Yes, it has shown up in the OS fonts listing.
dpb
dpb on 11 Nov 2025
Edited: dpb on 11 Nov 2025
Does the OS show it as being a TrueType font? The file extension would indicate it is supposed to be, but I suppose it could have some quirks in it that fail to match up with some expected verification signature or however it is that "compatible" is determined.
If the OS thinks it is, I'd suggest it's worth submitting to Mathworks as an official support request/bug at <Product Support Page>. Would probably want to attach/submit the file to the request.
Yes, the OS shows it as being a TrueType font. I will submit to Mathworks as an official support request/bug.
Thank you.
I think is justfied as a prime purpose in being able to do so is to support other languages and if there's an issue with MATLAB being unable to use fonts that other applications/the OS can, then I think that should be addressed.

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2025a

Tags

Asked:

涛
on 10 Nov 2025

Commented:

dpb
on 13 Nov 2025

Community Treasure Hunt

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

Start Hunting!