Page 1 of 1

Oxygen displays wrong symbols

Posted: Mon Aug 25, 2014 4:29 pm
by fibo
When I open a file the symbols are displayed in this way.
Even if I type in the file they are typed in the wrong way.
But in Xpath field texts are typed normally.
Even in the structure of the document (bottom-left) the text is displayed properly.
I also tried reinstalling Oxygen but this didn't help.
Please, could you help with this?

Image

Re: Oxygen displays wrong symbols

Posted: Mon Aug 25, 2014 4:38 pm
by adrian
Hi,

What version of Oxygen are you using (Help > About)?
Does this happen for any type of document opened in Oxygen?
Try some of the Oxygen sample files available in the sample.xpr project file:
personal.xml, personal.css, personal.xsl
Does this happen for any of them?

Regards,
Adrian

Re: Oxygen displays wrong symbols

Posted: Mon Aug 25, 2014 5:49 pm
by fibo
Adrian, thanks for the reply.
I am using 14.1 version and this mystery happens also to the files you mentioned.

Re: Oxygen displays wrong symbols

Posted: Mon Aug 25, 2014 8:01 pm
by adrian
Hi,

This is most likely a font problem. It's possible that either the Java runtime or your Windows operating system is keeping a font cache with a mangled font that Oxygen uses.
First, let's reset the Oxygen fonts. Go to Options > Prefernces, Fonts and press the 'Restore defaults' button.
Try restarting Oxygen. If that doesn't resolve the issue, try restarting your system. That may clear the OS font cache.

Let me know if the problem persists.

Regards,
Adrian

Re: Oxygen displays wrong symbols

Posted: Sat Aug 30, 2014 6:29 pm
by fibo
I tried as you wrote (even restarting the system) but the problem still persists.
This is how the Font Preferences window looks like.
Any other suggestions? Can I manually clean a font cache for Oxygen?
Image

Re: Oxygen displays wrong symbols

Posted: Mon Sep 01, 2014 2:49 pm
by adrian
Hi,

The Editor font is set by default to Monospaced and the Schema default font is set to SansSerif. A quick way to work around this problem would be to press the Choose button for each and pick a font that works for you (Serif seems to be fine). However, I would leave this as the last resort solution, if we are not successful in resetting the font cache.

From the screenshot it looks like you are using Windows 8 (or 8.1), which has a fast startup feature. When this feature is enabled (it is by default) it means that after a shutdown or reboot the system doesn't load from scratch, so it might not reset some caches from the previous session.
So, before attempting to manually remove the Windows font cache file, I would recommend trying to shutdown the system in a way that avoids the fast startup feature (Shut down while pressing Shift):
Settings > Power > press and hold Shift + click Shut Down

If the problem persists, you can attempt to rename/move the Windows font cache file: C:\Windows\System32\FNTCACHE.DAT. Rename this to FNTCACHE.OLD and shutdown the system using the same method described above. The font cache file will be re-built by Windows when you reboot.

Please let me know if the problem persists.

Regards,
Adrian

Re: Oxygen displays wrong symbols

Posted: Sat Sep 06, 2014 8:56 pm
by fibo
Thanks for your reply.
I tried shutting down with holding shift key but it didn't fix the problem.
Then I tried renaming the fontcache file as you wrote and shutting down the system in the same way. This also didn't work.
In the end, I tried choosing different fonts (New courier GEO for Editor and Tahoma for schema default font) and it works - I can read and write a text in a file.
It seems that monospace and sans serif are damaged in the system (maybe due to installing a bunch of new fonts).
-
Thank you for your help!