Akihiro Sagawa : gdi32: Restore the vertical font flag from the cache.

Alexandre Julliard julliard at winehq.org
Tue Feb 7 15:53:58 CST 2012


Module: wine
Branch: master
Commit: d53dc01143391d8524db37960cdd21bd99589524
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d53dc01143391d8524db37960cdd21bd99589524

Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date:   Wed Feb  8 00:03:40 2012 +0900

gdi32: Restore the vertical font flag from the cache.

---

 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 ce9556d..2a99742 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -1197,6 +1197,7 @@ static void load_face(HKEY hkey_face, WCHAR *face_name, Family *family)
 
         face->StyleName = strdupW(face_name);
         face->family = family;
+        face->vertical = (family->FamilyName[0] == '@');
 
         if(RegQueryValueExW(hkey_face, face_full_name_value, NULL, NULL, NULL, &needed) == ERROR_SUCCESS)
         {




More information about the wine-cvs mailing list