How to add a particular font to path with toolbox?
조회 수: 5 (최근 30일)
이전 댓글 표시
I wish to implement 'Nunito' Font with this toolbox, that is when the user downloads my toolbox, 'Nunito.ttf' will automatically get added to the MATLAB fonts folder. Also the font has to be then installed as well on their system.
How can I implement this?
EDIT1: Is it possible that I include the 'Nunito.ttf' file in my toolbox. Then make matlab search for fonts in this folder as well for fonts? Also how would the font installation happen automatically?
댓글 수: 0
답변 (1개)
Walter Roberson
2022년 10월 2일
Note that the locations searched for fonts are typically write-protected and might need administrative access to install.
Unfortunately, MATLAB does not offer any kind of "font path" that might permit you tell include a font in your package and tell the code to look at it without installing it as part of the system or into JRE.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!