mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[WIN32K] Apply some bits of Wine commit 88acc9c8 by Akihiro Sagawa: Don't modify output glyph metrics unless the function succeeds. CORE-9746
svn path=/trunk/; revision=67972
This commit is contained in:
@@ -2027,11 +2027,11 @@ ftGdiGetGlyphOutline(
|
||||
|
||||
IntUnLockFreeType;
|
||||
|
||||
if (pgm) RtlCopyMemory(pgm, &gm, sizeof(GLYPHMETRICS));
|
||||
|
||||
if (iFormat == GGO_METRICS)
|
||||
{
|
||||
DPRINT("GGO_METRICS Exit!\n");
|
||||
*pgm = gm;
|
||||
return 1; /* FIXME */
|
||||
}
|
||||
|
||||
@@ -2234,6 +2234,7 @@ ftGdiGetGlyphOutline(
|
||||
}
|
||||
|
||||
DPRINT("ftGdiGetGlyphOutline END and needed %lu\n", needed);
|
||||
*pgm = gm;
|
||||
return needed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user