The font choice in the program is a little bit, well, erratic. In places it's MS Shell Dlg, in others it's the font specified in the theme. It'd be nice if the theme font was used throughout the app, because a) it'd make OpenMPT more visually consistent, both internally and across the system, and b) it'd allow people to use non-bitmapped fonts, and thus antialiasing and subpixel hinting.
I'm not really concerned about the pattern editor in this context; I know that that is literally a couple of bitmaps. Just the rest of the interface's fonts.
Can you be a bit more specific about what font is used where?
I have a bit of trouble thinking what font is different.
Look at the difference between the menus and, say, the font in the instrument name input.
OK, screenshots.
(http://www.barryvan.com.au/temp/modplug-font.png)
And at 300% (uninterpolated) zoom, you can see how the font used in the orderlist is nicely antialiased with subpixel hinting, whereas the font used in various other places in the system isn't.
(http://www.barryvan.com.au/temp/modplug-font-2.png)
I have replaced any occurrences of "MS Shell Dlg" by "MS Sans Serif" which is used everywhere else. Can you confirm that this looks as desired? It is well possible that I have to do it the other way around, since I read on the web that "MS Shell Dlg" seems to replace the font with the system's standard font.
(removed files)
Thanks Jojo! Sorry I took so long to get back to you on this...
The second one (MS Shell Dlg) looks as though it's been replaced, not with the system's standard font (which on my theme is Corbel, which incidentally is a very pretty font, particularly under FreeType/GTK), but at least with an antialiased font.
More digging. It looks as though the registry key HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes defines... font substitutions! Like MS Shell Dlg, on my machine, is replaced by Microsoft Sans Serif, and MS Shell Dlg 2 is replaced by Tahoma. Weird that it's in HKLM, not HKCU. :/
Couldn't resist blogging this oddity, either. (http://www.barryvan.com.au/2009/01/changing-windows-default-font/)
Well, then your theme probably doesn't set the fonts that have to be replaced correctly? :D
Are you willing to test a few more default fonts to check if they break the program's layout?
If I get a chance... I haven't got much time at the moment. After all, I'm getting married on Saturday. :D
omg, best luck Barry, be good and send us some pictures will you? (not those dirty ones =)
Quote from: "bvanoudtshoorn"If I get a chance... I haven't got much time at the moment. After all, I'm getting married on Saturday. :D
In order to avoid an offtopic conversation, I've started a new one :)
http://forum.openmpt.org/index.php?msg=22217.0#msg22217
Relabs and me found out that there's a problem with changing the font to "MS Shell Dlg". It throws an access violation into the debug log which doesn't hapen with "MS Sans Serif". Hmm, strange enough, but we won't change the font then.
MS Shell Dlg is now used; Please confirm that this has been added as wished in OpenMPT 1.18 release candidate (http://forum.openmpt.org/index.php?topic=3701.0). You can set the thread status to S=C yourself then.
Awesomesauce. Thanks Jojo.