changeset 90894:2f6131d7643f

(w32font_open): Make lfHeight negative.
author Jason Rumney <jasonr@gnu.org>
date Thu, 31 May 2007 23:42:13 +0000
parents c36f1ca93a6e
children 72729fde7610
files src/w32font.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32font.c	Thu May 31 23:40:51 2007 +0000
+++ b/src/w32font.c	Thu May 31 23:42:13 2007 +0000
@@ -222,7 +222,7 @@
   if (size == 0)
     size = pixel_size;
 
-  logfont.lfHeight = size;
+  logfont.lfHeight = -size;
   hfont = CreateFontIndirect (&logfont);
 
   if (hfont == NULL)