[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Differing fonts between Octave and other programs with the same font
From: |
Pantxo |
Subject: |
Re: Differing fonts between Octave and other programs with the same fontname |
Date: |
Mon, 2 Dec 2019 04:31:53 -0600 (CST) |
BGreen wrote
> I'm wondering if Octave only searched C:\Windows\Fonts for fonts and hence
> didn't find them. I do not know.in what way they could be invalid, as MS
> Word was still able to use any the font just fine before it was deleted,
> after it was reinstalled, and again, even though Windows would go on do
> identify the font as invalid and delete it.
>
>
> Octave text, Cambria Math and Verdana.png (29K)
> <https://octave.1599824.n4.nabble.com/attachment/4694781/0/Octave%20text%2C%20Cambria%20Math%20and%20Verdana.png>
You may want to look at what font files are listed after "system
('fc-list.exe')". This will give you a hint on what font files are actually
found by fontconfig. As for including fonts in non standard location, you
can try
fontdir = 'C:\Users\Brett\AppData\Local\Microsoft\Windows\Fonts';
system (sprintf ('fc-cache.exe %s', fontdir));
This should scan the provided directory.
Pantxo
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html