From 7eed7e74b59c8051470e0b25d144cae9b646a21f Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 31 May 2007 23:42:13 +0000 Subject: [PATCH] (w32font_open): Make lfHeight negative. --- src/w32font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/w32font.c b/src/w32font.c index 9e603e3d632..52af8f359ab 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -222,7 +222,7 @@ w32font_open (f, font_entity, pixel_size) if (size == 0) size = pixel_size; - logfont.lfHeight = size; + logfont.lfHeight = -size; hfont = CreateFontIndirect (&logfont); if (hfont == NULL) -- 2.39.5