mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
[BMFD]
Fix inverted use of scaling factors. Patch by Victor Martinez. CORE-8165 #resolve svn path=/trunk/; revision=63413
This commit is contained in:
parent
292420e2af
commit
1f5094f9a8
1 changed files with 3 additions and 3 deletions
|
@ -118,8 +118,8 @@ BmfdQueryGlyphAndBitmap(
|
|||
}
|
||||
else
|
||||
{
|
||||
cxDst = cxSrc * yScale;
|
||||
cyDst = cySrc * xScale;
|
||||
cxDst = cxSrc * xScale;
|
||||
cyDst = cySrc * yScale;
|
||||
}
|
||||
cjDstRow = (cxDst + 7) / 8;
|
||||
|
||||
|
@ -154,7 +154,7 @@ BmfdQueryGlyphAndBitmap(
|
|||
}
|
||||
|
||||
/* 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;
|
||||
|
|
Loading…
Reference in a new issue