Why is my font missing?

32 次查看(过去 30 天)
Richard
Richard 2026-2-6,2:14
编辑: dpb 2026-2-7,15:45
So I am trying to use the JuliaMono font as the default editor for Matlab. It is currently installed on my systems as I am using it in VS Code & Notepad++ as my default font. It is not present when I try to set it as the default for editor. I cannot find any documentation as to why it should not be present. Would someone please let me know why it is missing when I use the command below:
d = listfonts()

采纳的回答

dpb
dpb 2026-2-6,15:48
编辑:dpb about 5 hours 前
One possibility is that it was installed only for your username and not for all users -- MATLAB requires it to be installed for all users. Right-click the font file in explorer and select the option for all users. You will have to have admin privileges in order to do this.
Failing that, the MATLAB JVM search for installed fonts is very picky and seems to not accept many fonts that other Windows apps using native Win32 API calls do. In this case, I'm not sure whether there might be a solution, but make sure the font is installed for all users first.
ADDENDUM
You may have to restart MATLAB to have the fonts cache refreshed...I'm not sure if there's a way to force that or not.
  1 个评论
Richard
Richard 2026-2-6,16:06
移动:Walter Roberson 2026-2-6,18:06
I went back and made sure to reinstall it for all users. That seemed to have fixed the issue.
Would you please make this an answer to the question so I can give you credit for the solution please?

请先登录,再进行评论。

更多回答(0 个)

类别

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

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by