gdi32: Correct order of matrix elements in World transform
Konstantin Kondratyuk
kondratyuk at etersoft.ru
Thu Dec 25 05:01:11 CST 2008
--
Best regards,
Konstantin Kondratyuk.
-------------- next part --------------
From 04b0616bae2a56595a8952a26bdbede7411f79c4 Mon Sep 17 00:00:00 2001
From: Konstantin Kondratyuk <kondratyuk at etersoft.ru>
Date: Thu, 25 Dec 2008 13:23:08 +0300
Subject: [PATCH] gdi32: Correct order of matrix elements in World transform
---
dlls/gdi32/freetype.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 2894dca..f725625 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -4470,8 +4470,8 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format,
{
FT_Matrix worldMat;
worldMat.xx = FT_FixedFromFloat(font->font_desc.matrix.eM11);
- worldMat.xy = FT_FixedFromFloat(font->font_desc.matrix.eM21);
- worldMat.yx = FT_FixedFromFloat(font->font_desc.matrix.eM12);
+ worldMat.xy = FT_FixedFromFloat(font->font_desc.matrix.eM12);
+ worldMat.yx = FT_FixedFromFloat(font->font_desc.matrix.eM21);
worldMat.yy = FT_FixedFromFloat(font->font_desc.matrix.eM22);
pFT_Matrix_Multiply(&worldMat, &transMat);
pFT_Matrix_Multiply(&worldMat, &transMatUnrotated);
--
1.6.0.2.GIT
More information about the wine-patches
mailing list