Cannot Select Installed Font in Preferences

<oXygen/> general issues.
sarcanon
Posts: 31
Joined: Mon Aug 24, 2009 11:42 pm

Cannot Select Installed Font in Preferences

Post by sarcanon » Thu Jan 16, 2020 8:23 pm

Hello.

I am unable to select a recently installed font in Preferences->Appearances->Fonts->Editor. The font does not appear in the list of available fonts. I have tried after multiple restarts of OxygenXML and the font still does not appear.

I have verified that the font is properly installed. I am also able to select the font in other editors, e.g., Visual Studio Code, Notepad++. So this problem seems to be unique to OxygenXML.

The font in question is JetBrains Mono (https://www.jetbrains.com/lp/mono/#intro)

Can anyone suggest what I can do to make this font available? Thank you.

Environment:
OxygenXML 21.1 build 2019120214
Windows 10 Pro (64bit)

adrian
Posts: 2593
Joined: Tue May 17, 2005 4:01 pm

Re: Cannot Select Installed Font in Preferences

Post by adrian » Tue Jan 21, 2020 5:30 pm

Hi,

Oxygen is a Java application. Most likely Java does not detect the font you have installed.
How did you install the font? Did you use "Install for me" or "Install for all users"?
AFAIK, Java only sees the font if you have used "Install for all users".

BTW, have you tried restarting Windows, after installing the font?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

sarcanon
Posts: 31
Joined: Mon Aug 24, 2009 11:42 pm

Re: Cannot Select Installed Font in Preferences

Post by sarcanon » Wed Jan 22, 2020 1:27 am

I've just confirmed your conjecture. Java does indeed not recognize fonts unless they are installed "for all users".

When I re-installed the fonts "for all users" they were visible after the next Oxygen restart.

Thank you for that bit of information.

Best wishes.
- Scott

Post Reply