I was about to try to get some sleep, but honestly wasn’t feeling very tired (as usual) at around 2:30am eastern, and read Federico’s excellent GNOME Font post.
I’ve always thought the desktop wide font configuration in GNOME was way too excessive and unclear. Federico’s thoughts echo my own here, so to grasp the context of the rest of this post, please read his. I also think the actual font selection dialog is a mess. Widgets are poorly arranged, feels a bit outdated, and at the very least I’d like to see the actual names of the fonts in the family list appear in their respective faces – having to select each font I’m looking for to preview it below the list is a tedious process.
Anyway, this post is not about the font selection dialog – it’s about GNOME’s font configuration dialog. I decided I’d create a working mockup of his idea, and I must say, I’m a fan.
I added the Bold and Family options. In a final version, I think the family selector should just be a combo box that displays the family names in their respective faces. GTK needs this widget. For now, the standard font chooser button is a good placeholder.
If you want to test drive this working mockup, both the source and assembly are available to download. I prototyped the idea in C#. I will not entertain comments along the lines of “if it’s going to be in GNOME, it’ll need to be in C.” While personally I’d enjoy debating that idea, if this concept is accepted, I’ll be the first to offer to rewrite it in C. This is just a prototype – a working mockup. I don’t think I could crank this out in C in 1.5 hours.
Also, it doesn’t actually change your GNOME font settings. This is just a UI prototype.
Without further ado:
To run the assembly:
$ mono font-chooser.exe
If you want to compile the code:
$ gmcs -out:font-chooser.exe -pkg:gtk-sharp-2.0 FontChooser.cs
Along with Federico’s post, I hope this starts to drive discussion. I’d love to see some really quick turn around on this in GNOME.