From: Jason Rumney Date: Thu, 31 May 2007 23:42:13 +0000 (+0000) Subject: (w32font_open): Make lfHeight negative. X-Git-Tag: emacs-pretest-23.0.90~8295^2~462 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7eed7e74b59c8051470e0b25d144cae9b646a21f;p=emacs.git (w32font_open): Make lfHeight negative. --- 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)