https://bugs.winehq.org/show_bug.cgi?id=56452
Bug ID: 56452 Summary: WineHQ9.3 breaks font-rendering at .NET-Datagridview Product: Wine Version: 9.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: andreas.franz@arcor.de Distribution: ---
Since WineHQ 9.3, font "wingdings" seems to be rendered as "arial" at .NET-Datagridview. Symbol "checkmark" is shown as "ΓΌ".
Stable WineHQ 9.0 works fine, 9.4 doesn't fix this issue.
It seems to be a GDI-related issue - print-preview-rendering is affected, too.
regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Best way to figure this out is to do a regression test between 9.0 and 9.3, as described here https://wiki.winehq.org/Regression_Testing.
https://bugs.winehq.org/show_bug.cgi?id=56452
dmorilha@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmorilha@gmail.com
--- Comment #2 from dmorilha@gmail.com --- Hi, first of all let me say I am a huge fan of the "wine is not (an) emulator" project since its very early days. I am a real witness of what this project was able to achieve with such scarce resources.
I've tried to reproduce the issue on a Gentoo arm64 box, using both Wayland and XWayland and I was not able to render either webdings or windings on neither wine-9.0 and wine-9.4 compiled with the help of Gentoo's emerge.
Following the clue from #c1, I noticed substantial changes under dlls/gdiplus from versions 9.0 to 9.4, however that did not seem to have any effect.
I've tested this by opening an instance of the wordpad program and after entering some random text into the RichTextEditor component, I've changed through different fonts. Most work, including symbol.ttf, but for some reason webdings and windings don't.
I've also tested both fonts straight into Linux's libreoffice and was able to display some of the glyphs as expected.
https://bugs.winehq.org/show_bug.cgi?id=56452
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|WineHQ9.3 breaks |.NET DataGridView font |font-rendering at |rendering is broken |.NET-Datagridview | Component|gdi32 |-unknown
https://bugs.winehq.org/show_bug.cgi?id=56452
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|.NET DataGridView font |.NET "drawstring" font |rendering is broken |rendering is broken
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #3 from AndyF andreas.franz@arcor.de --- I've tried some additional test. I've created a simple .NET-App, to draw some fonts on a picturebox via "gr.drawstring(..."
Result-Screenshots - see here:
https://cloud.s-t-franz.de/s/nPwYDEQJE7Fp2xc
regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #4 from Vijay Kamuju infyquest@gmail.com --- Can you also check with wine 9.1, 9.2 and 9.3
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #5 from AndyF andreas.franz@arcor.de --- WineHQ 9.3 is broken,too - is there any place to download 9.1/9.2 binary for Linux Mint 21.3 (based on Ubuntu 22.04 LTS)?
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #6 from AndyF andreas.franz@arcor.de --- Update - I've found an installation with WineHQ 9.2 - it looks perfect, like 9.0 . WingDings-Font is located at /.wine/drive_c/windows/Fonts
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #7 from Vijay Kamuju infyquest@gmail.com --- Now only thing left is to identify which patch/commit caused this between 9.2 and 9.3
https://bugs.winehq.org/show_bug.cgi?id=56452
Bartosz gang65@poczta.onet.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gang65@poczta.onet.pl
--- Comment #8 from Bartosz gang65@poczta.onet.pl --- Please check if using native gdiplus is fixing this issue, with:
winetricks gdiplus
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #9 from AndyF andreas.franz@arcor.de --- Native gdiplus.dll makes no difference. Issue is still present.
Regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #10 from AndyF andreas.franz@arcor.de --- Issue still exists with WineHQ 9.8
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #11 from Ken Sharp imwellcushtymelike@gmail.com --- Still needs a regression test.
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #12 from AndyF andreas.franz@arcor.de --- Between 9.2 and 9.3 was https://github.com/wine-mirror/wine/commit/ba4681e776c0c1cef9b5b2610dc67f634...
I assume, it has something to do with this issue - but I don't know, how to test my guess.
There is https://github.com/wine-mirror/wine/commit/829307455833e5182b93be7dd9b26529f... , too - and I think it's not so easy to test current version without these changes?
regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #13 from AndyF andreas.franz@arcor.de --- (In reply to AndyF from comment #9)
Native gdiplus.dll makes no difference. Issue is still present.
Regards, Andy
Native gdiplus.dll surprisingly breaks "textrenderer.drawtext" (which should use GDI without "+"?). Builtin gdiplus works fine with "drawtext".
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #14 from AndyF andreas.franz@arcor.de --- Issue is still present with Wine 9.14.
https://bugs.winehq.org/show_bug.cgi?id=56452
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|.NET "drawstring" font |Font rendering is broken; |rendering is broken |regression test done
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #15 from AndyF andreas.franz@arcor.de --- Regression test has this result:
BinΓ€re Suche: danach noch 0 Commits zum Testen ΓΌbrig (ungefΓ€hr 0 Schritte) [ba4681e776c0c1cef9b5b2610dc67f634999d095] gdiplus: Implement font linking for gdiplus.
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #16 from Esme Povirk madewokherd@gmail.com --- I think that's just the last revision you need to test to get a final result.
https://bugs.winehq.org/show_bug.cgi?id=56452
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |gdiplus CC| |smazza@codeweavers.com
--- Comment #17 from AndyF andreas.franz@arcor.de --- Sorry - it was my first bisect-session ;-)
ba4681e776c0c1cef9b5b2610dc67f634999d095 is the first bad commit commit ba4681e776c0c1cef9b5b2610dc67f634999d095 Author: Santino Mazza smazza@codeweavers.com Date: Tue Nov 14 19:22:25 2023 -0300
gdiplus: Implement font linking for gdiplus.
dlls/gdiplus/Makefile.in | 2 +- dlls/gdiplus/gdiplus_private.h | 16 ++++- dlls/gdiplus/graphics.c | 159 ++++++++++++++++++++++++++++++++++++----- dlls/gdiplus/graphicspath.c | 2 +- 4 files changed, 158 insertions(+), 21 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=56452
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=56452
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |ba4681e776c0c1cef9b5b2610dc | |67f634999d095
https://bugs.winehq.org/show_bug.cgi?id=56452
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.franz@arcor.de Distribution|--- |Mint
https://bugs.winehq.org/show_bug.cgi?id=56452
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|9.3 |9.20
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #18 from AndyF andreas.franz@arcor.de --- Tested with Wine's "Wordpad" - some fonts work properly, but not "wingdings"..
https://bugs.winehq.org/show_bug.cgi?id=56452
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|9.20 |9.21
--- Comment #19 from AndyF andreas.franz@arcor.de --- ... still an issue with 9.21
https://bugs.winehq.org/show_bug.cgi?id=56452
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|9.21 |9.3
https://bugs.winehq.org/show_bug.cgi?id=56452
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Font rendering is broken; |Wingdings font seems not to |regression test done |be found; regression test | |done
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #20 from AndyF andreas.franz@arcor.de --- Still an issue at 10rc1.
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #21 from AndyF andreas.franz@arcor.de --- Still no working Wingdings font at e.g. Wordpad with 10rc2.
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #22 from Jactry Zeng jactry92@gmail.com --- Hi, (In reply to AndyF from comment #15)
Regression test has this result:
BinΓ€re Suche: danach noch 0 Commits zum Testen ΓΌbrig (ungefΓ€hr 0 Schritte) [ba4681e776c0c1cef9b5b2610dc67f634999d095] gdiplus: Implement font linking for gdiplus.
Could you describe how to reproduce this bug with Wine's Wordpad?
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #23 from AndyF andreas.franz@arcor.de --- Hi,
in my case it's very simple to reproduce: - start Wordpad - write something with different fonts. - some fonts work, some won't work (e. g. WingDings)
Everything worked fine with old Wine 9.0 stable
See attached screenshot.
regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #24 from AndyF andreas.franz@arcor.de --- Created attachment 77663 --> https://bugs.winehq.org/attachment.cgi?id=77663 Screenshot of Wordpad
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #25 from AndyF andreas.franz@arcor.de --- I'm using "original"-Windows-Fonts from Windows 10 installation, copied to wine-prefix .wine/drive_c/windows/Fonts
Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #26 from AndyF andreas.franz@arcor.de --- Applications, which are using GDI (e.g. Corel Designer) work fine. Same with .NET 4.8 - drawtext works fine, drawstring don't work.
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #27 from Jactry Zeng jactry92@gmail.com --- Created attachment 77668 --> https://bugs.winehq.org/attachment.cgi?id=77668 screenshot of Wine 9.0
(In reply to AndyF from comment #23)
Hi,
in my case it's very simple to reproduce:
- start Wordpad
- write something with different fonts.
- some fonts work, some won't work (e. g. WingDings)
Everything worked fine with old Wine 9.0 stable
Weird, I got the same results with Wine 9.0 and 10.0rc2, with Wingdings and some other fonts copied from Windows 10. Attached is a screenshot of Wine 9.0.
With your current WinePrefix and Wine 9.0, can you still see a difference between 9.0 and a later version like 9.3?
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #28 from AndyF andreas.franz@arcor.de --- Yes, on 2 different machines, I have same faulty behaviour. See here:
https://cloud.s-t-franz.de/s/nPwYDEQJE7Fp2xc
Every version after reported patch, show Arial instead of WingDings.
regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #29 from AndyF andreas.franz@arcor.de --- Your attachment is even worse - Wingdings Font should be drawn as symbols. Not as readable text....
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #30 from AndyF andreas.franz@arcor.de --- https://bugs.winehq.org/show_bug.cgi?id=57076
Maybe a similar issue?
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #31 from Esme Povirk madewokherd@gmail.com --- Made an MR for bug 57076, which may also help here: https://gitlab.winehq.org/wine/wine/-/merge_requests/7054
It won't change Wordpad's behavior, though.
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #32 from AndyF andreas.franz@arcor.de --- Tried a fresh installation on Linux Mint 22 Live-Medium via VirtualBox.
It shows out-of-the-box the same issue: Wingdings at Wordpad won't be show any symbols.
regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #33 from Jactry Zeng jactry92@gmail.com --- (In reply to AndyF from comment #32)
Tried a fresh installation on Linux Mint 22 Live-Medium via VirtualBox.
It shows out-of-the-box the same issue: Wingdings at Wordpad won't be show any symbols.
How about Wine 9.0 on the environment?
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #34 from AndyF andreas.franz@arcor.de --- .. with Wine 9.0 from Standard Mint repo, it fails, too. *strange*
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #35 from AndyF andreas.franz@arcor.de --- Created attachment 77692 --> https://bugs.winehq.org/attachment.cgi?id=77692 Screenshot of TestApp with Wine 9.0
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #36 from AndyF andreas.franz@arcor.de --- Created attachment 77693 --> https://bugs.winehq.org/attachment.cgi?id=77693 Screenshot of TestApp with Wine 10rc3
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #37 from AndyF andreas.franz@arcor.de --- It seems, Wordpad itself has some additional issues.
I've created a rather simple TestApp - write some text to a .NET picture box with different fonts. Above cloud link contains a new folder with this 5-liner TestApp.
Testresults in a virtualbox-environment:
Wine 9.0 from Mint repo: OK https://bugs.winehq.org/attachment.cgi?id=77692
WineHQ 10rc3: BAD https://bugs.winehq.org/attachment.cgi?id=77693
regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #38 from Esme Povirk madewokherd@gmail.com --- I'm hoping https://gitlab.winehq.org/wine/wine/-/merge_requests/7054, which was merged, will help with this. It's in 10.0rc5. I expect it will have no effect on Wordpad though.
https://bugs.winehq.org/show_bug.cgi?id=56452
--- Comment #39 from AndyF andreas.franz@arcor.de --- At the moment, due to a big bug, I'm unable to test 10-rc5. My affected .NET-Programs don't start anymore.
See here: https://bugs.winehq.org/show_bug.cgi?id=57659
regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
AndyF andreas.franz@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #40 from AndyF andreas.franz@arcor.de --- Your patch works fine - WingDings works fine on .NET drawstring, now.
regards, Andy
https://bugs.winehq.org/show_bug.cgi?id=56452
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #41 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc6.