Author: tkreuzer
Date: Thu May 22 16:15:48 2014
New Revision: 63413
URL:
http://svn.reactos.org/svn/reactos?rev=63413&view=rev
Log:
[BMFD]
Fix inverted use of scaling factors. Patch by Victor Martinez. CORE-8165 #resolve
Modified:
trunk/reactos/win32ss/drivers/font/bmfd/glyph.c
Modified: trunk/reactos/win32ss/drivers/font/bmfd/glyph.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/font/bmfd/…
==============================================================================
--- trunk/reactos/win32ss/drivers/font/bmfd/glyph.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/drivers/font/bmfd/glyph.c [iso-8859-1] Thu May 22 16:15:48 2014
@@ -118,8 +118,8 @@
}
else
{
- cxDst = cxSrc * yScale;
- cyDst = cySrc * xScale;
+ cxDst = cxSrc * xScale;
+ cyDst = cySrc * yScale;
}
cjDstRow = (cxDst + 7) / 8;
@@ -154,7 +154,7 @@
}
/* Fill GLYPHBITS structure */
- pgb->ptlOrigin.x = yScale * pface->wA;
+ pgb->ptlOrigin.x = xScale * pface->wA;
pgb->ptlOrigin.y = - yScale * pface->wAscent;
pgb->sizlBitmap.cx = cxDst;
pgb->sizlBitmap.cy = cyDst;