https://bugs.winehq.org/show_bug.cgi?id=45721
Bug ID: 45721 Summary: SimpleHelloWorld application displays contents incorrectly Product: Wine Version: 3.14 Hardware: x86 OS: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: dwrite Assignee: wine-bugs@winehq.org Reporter: svyatpro@gmail.com
DWriteHelloWorld.exe draw words and characters incorrectly.
https://bugs.winehq.org/show_bug.cgi?id=45721
--- Comment #1 from Svyatpro svyatpro@gmail.com --- Created attachment 62151 --> https://bugs.winehq.org/attachment.cgi?id=62151 Screenshot of incorrect behavior using Wine DirectWrite.
https://bugs.winehq.org/show_bug.cgi?id=45721
--- Comment #2 from Svyatpro svyatpro@gmail.com --- Created attachment 62152 --> https://bugs.winehq.org/attachment.cgi?id=62152 Application
https://bugs.winehq.org/show_bug.cgi?id=45721
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Why do you think it's DirectWrite issue?
https://bugs.winehq.org/show_bug.cgi?id=45721
--- Comment #4 from Svyatpro svyatpro@gmail.com --- It may be related to Direct2D or Direct3D10/10.1, I know. But the application is intended to test DirectWrite functionality.
https://bugs.winehq.org/show_bug.cgi?id=45721
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|SimpleHelloWorld |SimpleHelloWorld |application displays |application displays |contents incorrectly |contents incorrectly - | |drawing of glyph outlines | |as path geometries Component|dwrite |d2d
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- It's using outline mode with d2d path geometries. In this case DirectWrite is asked for positioned glyph outlines and doesn't do any rendering itself.
If you comment "DrawGeometry" call artifacts should go away.
https://bugs.winehq.org/show_bug.cgi?id=45721
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Why did you put in "windows" into the fields? Does it happen on windows only?
https://bugs.winehq.org/show_bug.cgi?id=45721
--- Comment #7 from Svyatpro svyatpro@gmail.com --- Don't sure if it is only Windows related, but When I use native d2d1.dll from Vista - there are no artifacts. I think the problem is in Wine's D2D1 and may be reproduced on Linux too.
https://bugs.winehq.org/show_bug.cgi?id=45721
--- Comment #8 from Henri Verbeet hverbeet@gmail.com --- (In reply to Svyatpro from comment #7)
Don't sure if it is only Windows related, but When I use native d2d1.dll from Vista - there are no artifacts. I think the problem is in Wine's D2D1 and may be reproduced on Linux too.
It would be good to verify that. Some of the floating-point code in dlls/d2d1/geometry.c is fairly sensitive, and may not behave correctly without -fexcess-precision=standard or equivalent.
https://bugs.winehq.org/show_bug.cgi?id=45721
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- It is reproducible on Linux.
https://bugs.winehq.org/show_bug.cgi?id=45721
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |download, source Ever confirmed|0 |1 CC| |focht@gmx.net
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
the example app doesn't render any text all under Wine. The comments are kinda confusing. Are you complaining about Wine's 'd2d1.dll' behaving incorrectly when being used in a Windows environment (replacing native dll) or the behaviour of the app with Linux/Wine? Those are different issues.
Regards