In R2025a, how to add Additional Fonts?

25 ビュー (過去 30 日間)
涛
2025 年 11 月 10 日 10:46
編集済み: dpb 約11時間 前
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 件のコメント
涛
約12時間 前
YaHei Consolas Hybrid. Yes, it has shown up in the OS fonts listing.
dpb
dpb 約10時間 前
編集済み: dpb 約9時間 前
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.

サインインしてコメントする。

タグ

製品


リリース

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by