Changing Matlab UI font from Lucida Sans / Grande?
조회 수: 8 (최근 30일)
이전 댓글 표시
is there a way to switch the font used by Matlab in the UI? I don't mean the two options in preferences that you can already change, but the one used in the toolbars, menus etc.
I can see by looking in the jvm folder that Lucida Sans, Lucida Bright, and Lucida Typewriter are probably being used. However, if I replace these with other fonts using the same names, Matlab doesn't change at all. Even if I don't have Lucida anywhere else on my system!
I am running Matlab on Linux.
답변 (2개)
Saurav Chaudhary
2020년 12월 21일
MATLAB determines the set the fonts used in font preferences from the fonts installed on your system. MATLAB looks for fonts in these locations:
- The operating system's standard location (see your system administrator for details)
- The /jre/lib/fonts folder where Java® software is installed on your system
MATLAB only includes compatible fonts in the font preferences.
- For desktop components (such as the Command Window), figure windows, and uicontrols, fonts must be compatible with TrueType and Microsoft OpenType® fonts
- For graphics objects, such as xlabel, ylabel, title, and text, fonts must be TrueType and Microsoft OpenType fonts
If you install a font with MATLAB running, restart MATLAB to include the font in the font preferences. A common reason to install additional fonts is to read files created in different languages. For details on adding fonts to your system, refer to the documentation for your system.
Hope, this helps.
댓글 수: 1
chaodadi
2021년 8월 4일
May I know if it is possible to change the font from Lucida Sans to other fonts on Mac? I mean the UI fonts on ribbon for example. I changed the preferences but that do not change the ribbon.
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!