From 1ce79f87dd6ddebb421d88c94a94b9cfc902134f Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Wed, 30 Jan 2008 07:26:02 -0600 Subject: [PATCH] gdi32: Child fonts need to be scaled like their parent. With input from Dmitry Timoshkov. --- dlls/gdi32/freetype.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 4b54699fbce..81dc3005028 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -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);