필터 지우기
필터 지우기

listTrueTypeFonts on Mac OSX does not list all installed TrueType fonts

조회 수: 2 (최근 30일)
Stefan Glasauer
Stefan Glasauer 2022년 8월 18일
편집: Stefan Glasauer 2022년 8월 21일
On my Mac (OSX Monetery 12.5.1) Matlab's listTrueTypeFonts only lists installed TrueType fonts located in /Users/thisuser/Library/Fonts or /System/Library/Fonts, but not in the subfolder /System/Library/Fonts/Supplemental, where actually most of the installed TrueType fonts on my computer are located.
One workaround is to copy a ttf file from /System/Library/Fonts/Supplemental to another folder, and install it from there, so that it will be copied to the user folder /Users/thisuser/Library/Fonts.
Any other solution? I guess this is a bug, and listTrueTypeFonts should list all installed fonts, including those located in Supplemental ...
  댓글 수: 1
Stefan Glasauer
Stefan Glasauer 2022년 8월 18일
편집: Stefan Glasauer 2022년 8월 21일
Update: the newly installed font shows up in listTrueTypeFonts, but, as an example, when I install "Courier New", I get an error message when trying to use it:
Error using insertText>populateGlyphBuffer_sim
FreeType: Unable to load font file.
Error in insertText (line 146)
populateGlyphBuffer_sim(font,fontFileName,faceIndex,fontSize);
The crash happens in visionPopulateGlyphBuffer, which is "an undocumented builtin function" according to Matlab help.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by