Install new font (windows)

10 vues (au cours des 30 derniers jours)
William Fuller
William Fuller le 26 Mai 2019
Commenté : Star Strider le 28 Mai 2019
I have downloaded a new font (Electra LT W01 Regular, main GoT novels font) into my Windows font catalogue as a .ttf. The font successfully shows up on Microsoft Word's font list, but after exiting and opening Matlab 2019a I still cannot manage to find it in the Matlab font list. I have seen the previous thread on font additions here for the record.
Thanks, Will
  4 commentaires
Star Strider
Star Strider le 26 Mai 2019
My pleasure.
Run the function and see if your new font is listed.
That’s the only way to know.
William Fuller
William Fuller le 26 Mai 2019
Yeah no dice in showing up in listfonts output set as expected.
The thought behind the follow-up questions was it struck me that perhaps the function does check through the installed Windows fonts... however if Matlab determines (for whatever reason) the font is incompatible then it simply skips it without declaring "font 'xxx' is installed however it cannot be used and was thus excluded from listfonts output" or something to that effect.
Such a case would then of course throw a monkey wrench in substantively forming a conclusion directly from the function output. Or maybe it never checks Window's overarching font directory and only considers font files local to the Matlab program install files. For the record I attempted copy/pasting the font into one of the Matlab program font folders but this also failed. I would not rule out my using of the wrong Matlab font folder however; a search of Matlab program folder indicated several separate (non-intuitively named) subfolders handling fonts in some fashion.
It appears this is rapidly becoming ridiculously in-the-weeds for what was supposed to be a quick and trivial preference change (as it always mysteriously seems to happen). I will contact mathworks and provide any final answer(s) to this latest procrastination effort when able.

Connectez-vous pour commenter.

Réponse acceptée

William Fuller
William Fuller le 28 Mai 2019
Modifié(e) : William Fuller le 28 Mai 2019
So the problem ends up stemming from a Windows update in late 2018/early 2019 that can preclude the Java programming interface from using the font used across different applications.
Several methods of addressing the issue are found in this previous post that for some reason did not show as a possible answer to my initial query.
Thanks again for the assistance Strider (and Julia from tech support)
  1 commentaire
Star Strider
Star Strider le 28 Mai 2019
My pleasure.
Thank you for following up on this.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by