How to list supported font styles?

조회 수: 10 (최근 30일)
Chris L'Esperance
Chris L'Esperance 2020년 5월 12일
답변: Mehmed Saad 2020년 5월 12일
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.

채택된 답변

Mehmed Saad
Mehmed Saad 2020년 5월 12일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by