Commit 1ce79f87 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

gdi32: Child fonts need to be scaled like their parent. With input from Dmitry Timoshkov.

parent 3d962e27
......@@ -4497,6 +4497,7 @@ static BOOL load_child_font(GdiFont *font, CHILD_FONT *child)
child->font->ntmFlags = child->face->ntmFlags;
child->font->orientation = font->orientation;
child->font->scale_y = font->scale_y;
hfontlist = HeapAlloc(GetProcessHeap(), 0, sizeof(*hfontlist));
hfontlist->hfont = CreateFontIndirectW(&font->font_desc.lf);
list_add_head(&child->font->hfontlist, &hfontlist->entry);
......
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