Aric Stewart : gdi32: Child fonts need to be scaled like their parent. With input from Dmitry Timoshkov.
Alexandre Julliard
julliard at winehq.org
Tue Feb 5 06:34:46 CST 2008
Module: wine
Branch: master
Commit: 1ce79f87dd6ddebb421d88c94a94b9cfc902134f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1ce79f87dd6ddebb421d88c94a94b9cfc902134f
Author: Aric Stewart <aric at codeweavers.com>
Date: Wed Jan 30 07:26:02 2008 -0600
gdi32: Child fonts need to be scaled like their parent. With input from Dmitry Timoshkov.
---
dlls/gdi32/freetype.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 4b54699..81dc300 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);
More information about the wine-cvs
mailing list