
Hi I looked for in the "Preferences" window, but found nothing. Is it possible to tell the editor to use a fixed-width font? Regards, --drkm

Hi Florent, Yes, and more, oXygen allows you to configure not only the editor font but also the font for UI controls. See Options->Preferences -- Fonts. The number of preferences is large and the best approach when you want to find something is to use the filter in the top left part of the preferences dialog. For example if you type there font then you will get the Fonts page. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Florent Georges wrote:
Hi
I looked for in the "Preferences" window, but found nothing. Is it possible to tell the editor to use a fixed-width font?
Regards,
--drkm
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

George Cristian Bina wrote:
See Options->Preferences -- Fonts.
Ouch, how have I missed that one! :-) I was looking in the "Editor" branch.
The number of preferences is large and the best approach when you want to find something is to use the filter in the top left part of the preferences dialog.
Really nice! I will do the next time. Thank you and sorry for the noise, --drkm

Yes, and more, oXygen allows you to configure not only the editor font but also the font for UI controls. See Options->Preferences -- Fonts.
Out of interest, why isn't the default font not a monospaced font?? I don't know what other people use with oXygen, but the first thing I do is switch to a fixed width font (monospaced size 12) otherwise single quotes within double quotes (eg select="'some text'") really strain your eyes. The font for the editor in Netbeans is monospaced by default, and I think most other IDEs are, which is why it's a little unusual for the default font to not be monospaced... -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/

Out of interest, why isn't the default font not a monospaced font??
The default is a monospaced font on Mac OS X, Unix, and GNU/Linux, I think. Only Windows users are left to suffer, which seems like adding insult to injury. :-) I sent this in as a complaint to support@oxygenxml.com on 2008-09-13, and rcvd reply (from Sorin) on 09-16 that SyncRO would consider setting the default to a monospaced font, both in Editor and Author mode.

Could I second that motion? I've spent the last day or so sweating over a complex XPath expression, without any kind of light dawning. I just couldn't see how it could work. I'd seen this discussion, but ignored it, but then in a fit of dedication I looked at the expression in Oxygen on my Linux box at home and deciphered the XPath expression in no time at all. The reason was that the font on my Linux box is fixed width, so I spotted the extent of the square brackets more easily such that the expression made sense. The default font at work is now fixed width, for me at least. Cheers Peter -----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Andrew Welch Sent: 29 September 2008 15:01 To: George Cristian Bina Cc: oXygen User ML Subject: Re: [oXygen-user] Fixed-width font
Yes, and more, oXygen allows you to configure not only the editor font but also the font for UI controls. See Options->Preferences -- Fonts.
Out of interest, why isn't the default font not a monospaced font?? I don't know what other people use with oXygen, but the first thing I do is switch to a fixed width font (monospaced size 12) otherwise single quotes within double quotes (eg select="'some text'") really strain your eyes. The font for the editor in Netbeans is monospaced by default, and I think most other IDEs are, which is why it's a little unusual for the default font to not be monospaced... -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/ _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

that the font on my Linux box is fixed width, so I spotted the extent of the square brackets more easily such that the expression made sense.
quick tip if you weren't aware of it - if you put the caret next to a bracket, oXygen will a put a box around its matching other bracket making it easier to spot pairs. Indentation helps too :) -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/

Hi Andrew, Yeah. I did know that. Trouble was, it wasn't until I saw an extra set of square brackets that I suddenly realised that's what I needed to check. I know. Terminally dumb. And I didn't realise that you needed to place the cursor *inside* a leading bracket for it to highlight the closing bracket; but *outside* a closing bracket for it to highlight a leading bracket. So I got some false negatives. Pretty lame excuse, I know. :) Peter -----Original Message----- From: Andrew Welch [mailto:andrew.j.welch@gmail.com] Sent: 02 October 2008 10:44 To: Bradley, Peter Cc: oXygen User ML Subject: Re: [oXygen-user] Fixed-width font
that the font on my Linux box is fixed width, so I spotted the extent of the square brackets more easily such that the expression made sense.
quick tip if you weren't aware of it - if you put the caret next to a bracket, oXygen will a put a box around its matching other bracket making it easier to spot pairs. Indentation helps too :) -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/

Hi, From what we tested the fonts in Java do not look the same as in native applications. For example setting a Courier New in oXygen and playing with all the anti-aliasing options available gives a different rendering than setting the same font in a native application. Our general feeling was that the monospaced fonts set in Java are uglier :) thus the decision to use a different type of font. On Mac there was an issue with the fonts that forced the usage of a fixed-width font: http://www.oxygenxml.com/forum/viewtopic.php?t=64 Please note that once you set a font that should be taken automatically by new versions of oXygen when you upgrade from a version to another. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Andrew Welch wrote:
Yes, and more, oXygen allows you to configure not only the editor font but also the font for UI controls. See Options->Preferences -- Fonts.
Out of interest, why isn't the default font not a monospaced font??
I don't know what other people use with oXygen, but the first thing I do is switch to a fixed width font (monospaced size 12) otherwise single quotes within double quotes (eg select="'some text'") really strain your eyes.
The font for the editor in Netbeans is monospaced by default, and I think most other IDEs are, which is why it's a little unusual for the default font to not be monospaced...

From what we tested the fonts in Java do not look the same as in native applications.
I take it on faith that you're correct. But it doesn't strike me as relevant. It doesn't matter that it might have looked better if you hadn't used Java. What matters is that it is not readable as it is.
Our general feeling was that the monospaced fonts set in Java are uglier :)
Again, I presume you are right, but don't think it matters. While I don't want a typeface that is horribly ugly, I will tolerate one that is quite a bit less than optimal in order to enjoy the benefits of fixed-width. This is an editor, after all, not a word processor. (That said, I could see an argument for proportional-width default in Author mode.) BTW, one of the Font settings "Text components" or "GUI" (I forget which, if I ever knew) changes the face in the XPath Builder. This is good. But is there a way to change the font in that *lovely* XPath box in the toolbar? (See next post for more on XPath Builder.)

Again, I presume you are right, but don't think it matters. While I don't want a typeface that is horribly ugly, I will tolerate one that is quite a bit less than optimal in order to enjoy the benefits of fixed-width.
This is an editor, after all, not a word processor.
I have to agree with that. Having now changed the editor font to Courier New, I can pronounce myself not offended by their ugliness. Other souls may be more sensitive than I, of course, and may take beauty over readability. The fixed width fonts are much more readable IMO. Peter

Hello, In the next version of Oxygen the default editor font for a fresh installation (no previous version was installed on that computer) will be a fixed width font on all platforms. If it is not a fresh installation the editor font can be reset to the default one with the button "Restore Defaults" in the Preferences -> Fonts panel. Regards, Sorin Bradley, Peter wrote:
Again, I presume you are right, but don't think it matters. While I don't want a typeface that is horribly ugly, I will tolerate one that is quite a bit less than optimal in order to enjoy the benefits of fixed-width.
This is an editor, after all, not a word processor.
I have to agree with that. Having now changed the editor font to Courier New, I can pronounce myself not offended by their ugliness. Other souls may be more sensitive than I, of course, and may take beauty over readability.
The fixed width fonts are much more readable IMO.
Peter

-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Sorin Ristache Sent: 13 October 2008 15:26 To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Fixed-width font
Hello,
In the next version of Oxygen the default editor font for a fresh installation (no previous version was installed on that computer) >will
be a fixed width font on all platforms. If it is not a fresh installation the editor font can be reset to the default one with the button "Restore Defaults" in the Preferences -> Fonts panel.
Regards, Sorin
Listening to your customers? You'll be giving capitalism a bad name ;-) Thanks Peter
participants (6)
-
Andrew Welch
-
Bradley, Peter
-
Florent Georges
-
George Cristian Bina
-
Sorin Ristache
-
Syd Bauman