In R2025a, how to add Additional Fonts?

26 次查看(过去 30 天)
涛
2025-11-10,10:46
编辑: dpb 2025-11-11,16:08
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.

回答(1 个)

dpb
dpb 2025-11-10,15:22
编辑:dpb 2025-11-10,15:36
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.
  4 个评论
dpb
dpb about 4 hours 前
编辑:dpb about 2 hours 前
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by