Commit 7eed7e74 authored by Jason Rumney's avatar Jason Rumney
Browse files

(w32font_open): Make lfHeight negative.

parent 82523155
...@@ -222,7 +222,7 @@ w32font_open (f, font_entity, pixel_size) ...@@ -222,7 +222,7 @@ w32font_open (f, font_entity, pixel_size)
if (size == 0) if (size == 0)
size = pixel_size; size = pixel_size;
logfont.lfHeight = size; logfont.lfHeight = -size;
hfont = CreateFontIndirect (&logfont); hfont = CreateFontIndirect (&logfont);
if (hfont == NULL) if (hfont == NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment