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: 2666
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

ckabstein
Posts: 88
Joined: Fri Apr 24, 2015 12:28 pm

Re: Cannot Select Installed Font in Preferences

Post by ckabstein » Thu Sep 10, 2020 12:14 pm

Hi,

We also had this issue and found the solution in this thread.
Would it be possible to add some information on the "Appearance/Fonts" page in the "Preferences" dialog, and maybe also on the respective help page in the documentation?
In some cases, users may also not be allowed to "Install for all users" because you need administrator permission to do this - at least in Windows 10 you do.

Thanks,
Christina
oXygen XML Editor 22.1 build 2020072902
DITA OT 3.4.1

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

Re: Cannot Select Installed Font in Preferences

Post by adrian » Thu Sep 10, 2020 12:54 pm

Hi,

Thank you for the feedback.
I've logged an issue for our documentation department to mention this in the FAQ section in the Oxygen User Manual and also link to that from the documentation page of the Fonts preferences page.

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

Post Reply