Can I add custom fonts to my MATLAB Desktop in Preferences?

36 vues (au cours des 30 derniers jours)
Even though the font is installed according to the instructions here:
I cannot select the fonts I have installed on my computer from the "Fonts" section of the MATLAB Preferences.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 2 Mar 2020
The fonts must be added to the Java Runtime Environment (JRE) that ships with MATLAB (if that is the Java version being used by the program). Below are steps to install the fonts:
1) Copy the TTF fonts to "<matlabroot>\sys\java\jre\win64\jre\lib\fonts",
e.g. "C:\Program Files\MATLAB\R2019a\sys\java\jre\win64\jre\lib\fonts"
Note: You might need to be an administrator to copy files to this folder.
2) Restart MATLAB.
3) You should now be able to see the Ubuntu fonts in MATLAB's font preference panel.
Note: If using the default JVM shipped with MATLAB, you must do this for each MATLAB version installed.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by