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

This commit is contained in:
Aric Stewart 2008-01-30 07:26:02 -06:00 committed by Alexandre Julliard
parent 3d962e27ed
commit 1ce79f87dd

View File

@ -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);