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!