Azzera filtri
Azzera filtri

listTrueTypeFonts on Mac OSX does not list all installed TrueType fonts

2 visualizzazioni (ultimi 30 giorni)
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 Commento
Stefan Glasauer
Stefan Glasauer il 18 Ago 2022
Modificato: Stefan Glasauer il 21 Ago 2022
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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by