Application font issue

Having trouble installing Oxygen? Got a bug to report? Post it all here.
klo
Posts: 8
Joined: Wed Dec 07, 2011 4:43 pm

Application font issue

Post by klo »

If you excuse my minutiae decorative issues I want to ask another similar question.

My system application font is set to Google's Droid Sans, and accordingly monospaced font to Droid Sans Mono
I tried to set same fonts for Oxygen, but it renders different. Here is screenshot: http://i.imgur.com/zlHgj.png

As you can see Eclipse uses system fonts, Droid Sans font is condensed, and font rendered in Oxygen is even wider then Segoe UI i.e.
Antialiasing seems a bit too sharp, but I guess you can't use this feature provided by system? (default AA in font preferences does not do that, and I can't notice any difference with other provided settings)

Does some setting exist to correct this issues?
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Application font issue

Post by adrian »

Hi,

There will always be a few differences in the way the GUI looks. Oxygen's GUI is pure Java(with some native tricks: file chooser, help), so it depends on the Java look and feel, while Eclipse uses native widgets.

I honestly don't know why the font is more condensed in Eclipse. It's probably the native vs Java implementation difference.

To me the AA looks about the same in both, but it seems like there's a slight difference in colors. Oxygen uses black for all GUI text, while in Eclipse the text looks gray. This color difference makes the font in Oxygen look too sharp. Eclipse looks the same when using a black font(default).

Do you use a custom Windows theme?
What edition of Windows are you using(XP, Vista, 7)?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
klo
Posts: 8
Joined: Wed Dec 07, 2011 4:43 pm

Re: Application font issue

Post by klo »

Thanks for your reply Adrian

I'm on Linux (Ubuntu) and Eclipse renders fonts like any other native application on my system. System font color is black only that Eclipse uses system AA and your application provides "own" implementation.

I was watching some of the video tutorials provided on your home page, and noticed that on Windows, UI and font appear like native Windows application (at least it seems like that to me).

From your reply I'll assume that's because of java LAF which on Windows tries to follow native UI and on Linux there is problem with native GTK LAF, as you explained to me in my previous topic and font rendering depends on used LAF.

Regards,
klo
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Application font issue

Post by adrian »

Hi,

Sorry, I forgot about the other thread. I had the impression that the screenshot was from Windows. I was expecting to see the Metal LAF in Linux.

If you force the GTK LAF, there will be some issues(that's why it's unavailable as an option). But, I'm not sure if this actually qualifies as an Oxygen specific issue with GTK. This font/AA issue could very well be a limitation of the GTK LAF from Java applications in general.

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