Install new font (windows)

8 ビュー (過去 30 日間)
William Fuller
William Fuller 2019 年 5 月 26 日
コメント済み: Star Strider 2019 年 5 月 28 日
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 件のコメント
Star Strider
Star Strider 2019 年 5 月 26 日
My pleasure.
Run the function and see if your new font is listed.
That’s the only way to know.
William Fuller
William Fuller 2019 年 5 月 26 日
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.

サインインしてコメントする。

採用された回答

William Fuller
William Fuller 2019 年 5 月 28 日
編集済み: William Fuller 2019 年 5 月 28 日
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 件のコメント
Star Strider
Star Strider 2019 年 5 月 28 日
My pleasure.
Thank you for following up on this.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by