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 Comments

I assume you’ve already tried the listfonts (link) function.
It’s probably worth contacting MathWorks again to see if there’s been any progress on this problem. Use the Contact Us link (the telephone handset icon) in the upper right corner of this page.
Please post back here with any information MathWorks provides.
Correct me if I am wrong, but due to the font not being native to Matlab it should therefore not show up in listfonts output right? i.e. the function output should only be fonts original to Matlab? Or does listfonts output check and then report back all compatible fonts Matlab detects in Window's fonts folder?
I had checked out that function, yes, but the description "lists available system fonts" could broadly apply to either possible output definition IMO.
Thanks for your response.
My pleasure.
Run the function and see if your new font is listed.
That’s the only way to know.
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.

Sign in to comment.

 Accepted Answer

William Fuller
William Fuller on 28 May 2019
Edited: William Fuller on 28 May 2019

0 votes

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 Comment

My pleasure.
Thank you for following up on this.

Sign in to comment.

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!