mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
gdi32: Child fonts need to be scaled like their parent. With input from Dmitry Timoshkov.
This commit is contained in:
parent
3d962e27ed
commit
1ce79f87dd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user