[Bug 42585] Final Fantasy V Corrupt Fonts

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 28 22:17:29 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=42585

Steven Wilson <sw-wine at alpha.germy.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sw-wine at alpha.germy.net

--- Comment #6 from Steven Wilson <sw-wine at alpha.germy.net> ---
(Wine development newbie here; I've been using it for years, but rarely dug
into the code)

I'm far from a GDI(+) expert, but from the documentation I would expect that
the pixels in the target GpGraphics are all set to the specified color,
including alpha if applicable to the pixel format.

I tried to accomplish this by changing the compositing mode of the GpGraphics
to CompositingModeSourceCopy in GdipGraphicsClear(), but saw no visible change
in behavior with Final Fantasy V. Right now my best guess is that in Wine's
gdiplus implementation, the compositing mode is ignored and GDI+ draw
operations use the equivalent of GDI's AC_SRC_OVER BlendOp. This seems
consistent with the behavior of some sample code that demonstrates use of
CompositingModeSourceCopy [1]. What exactly all of this means for the
management of this bug is well above my pay grade here.

[1]
https://docs.microsoft.com/en-us/windows/desktop/gdiplus/-gdiplus-using-compositing-mode-to-control-alpha-blending-use

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list