chiark / gitweb /
I think Windows fonts look better in bold as well.
authorSimon Tatham <anakin@pobox.com>
Sun, 1 May 2005 10:57:23 +0000 (10:57 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 1 May 2005 10:57:23 +0000 (10:57 +0000)
[originally from svn r5721]

windows.c

index bf7c21062e3300375a3180f13cf1ee2cd7b2844a..201e4aff74b2012e2aaafe6c8cafe9581b028c4b 100644 (file)
--- a/windows.c
+++ b/windows.c
@@ -189,7 +189,7 @@ void draw_text(frontend *fe, int x, int y, int fonttype, int fontsize,
          * FIXME: Really I should make at least _some_ effort to
          * pick the correct font.
          */
-        fe->fonts[i].font = CreateFont(-fontsize, 0, 0, 0, 0,
+        fe->fonts[i].font = CreateFont(-fontsize, 0, 0, 0, FW_BOLD,
                                       FALSE, FALSE, FALSE, DEFAULT_CHARSET,
                                       OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
                                       DEFAULT_QUALITY,