How to list supported font styles?
23 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Chris L'Esperance
le 12 Mai 2020
Réponse apportée : Mehmed Saad
le 12 Mai 2020
Font style on the current axes can be set by set(gca, 'FontName', <name of supported font>).
Should one assume that a Matlab installation on a system supports all of the local fonts?
How does one list the set of fonts supported by a Matlab installation?
In a use case envisioned by the poster, the set expression for font name would be wrapped in a conditional which validates whether the desired font is supported. This is why it would be helpful to list all supported fonts, or call a command which returns a data structure containing the supported set.
Any advice is greatly appreciated.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Graphics Object Properties dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!