https://bugs.winehq.org/show_bug.cgi?id=45159
Bug ID: 45159 Summary: Fonts created in DialogBoxParamW are aliased while fonts created in comctl32 are anti-aliased Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: taisfmq@live.cn Distribution: ---
When font dpi is set to 144, in regedit main window the fonts are pretty, but in the edit window the fonts are ugly, while all fonts are in the same size, as shown in the attachment.
The edit window is created here https://github.com/wine-mirror/wine/blob/7f955f22d317cad1e7d5323179e9a0ee635...
The main listview is created here https://github.com/wine-mirror/wine/blob/7f955f22d317cad1e7d5323179e9a0ee635...
BTW, why small fonts are all aliased and ugly?
https://bugs.winehq.org/show_bug.cgi?id=45159
taisfmq@live.cn changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=45159
taisfmq@live.cn changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |taisfmq@live.cn
--- Comment #1 from taisfmq@live.cn --- Created attachment 61353 --> https://bugs.winehq.org/attachment.cgi?id=61353 Screenshot of the Registry Editor
Fonts in the main window are anti-aliased, while fonts in the editor are not
https://bugs.winehq.org/show_bug.cgi?id=45159
taisfmq@live.cn changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|taisfmq@live.cn |
https://bugs.winehq.org/show_bug.cgi?id=45159
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|user32 |-unknown
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Does a workaround from bug 41639 help?
https://bugs.winehq.org/show_bug.cgi?id=45159
--- Comment #3 from taisfmq@live.cn --- Thanks Nikolay, it changes but it does not help, at least not what I want
https://bugs.winehq.org/show_bug.cgi?id=45159
--- Comment #4 from taisfmq@live.cn --- (In reply to Nikolay Sivov from comment #2)
Does a workaround from bug 41639 help?
Thanks Nikolay, it changes but it does not help, at least not what I want
BTW, there is a probably related bug https://bugs.winehq.org/show_bug.cgi?id=32947
I will post attachments later. The matrix is
DPI=96, fonts are small: user32 fonts are the same as comctl32 ones FREETYPE_PROPERTIES workaround disabled: comctl32 fonts are ugly, only black and white pixels, strokes have inconsistent width (The middle stroke in 'W' is extremely ugly) FREETYPE_PROPERTIES workaround enabled: comctl32 fonts are slightly better, although still only black and white pixels, strokes have consistent width now DPI=144, fonts are larger: FREETYPE_PROPERTIES workaround disabled: comctl32 fonts are the best, there are grey pixels, and it looks that strokes have consistent width user32 fonts are ugly, only black and white pixels, strokes have inconsistent width FREETYPE_PROPERTIES workaround enabled: comctl32 fonts are not as good as above, there ARE grey pixels, but it looks that strokes have inconsistent width now user32 fonts are better now, only black and white pixels, but strokes have consistent width
(Can't we type emojis here)
https://bugs.winehq.org/show_bug.cgi?id=45159
--- Comment #5 from taisfmq@live.cn --- Created attachment 61354 --> https://bugs.winehq.org/attachment.cgi?id=61354 DPI=144 with FREETYPE_PROPERTIES workaround
https://bugs.winehq.org/show_bug.cgi?id=45159
--- Comment #6 from taisfmq@live.cn --- Created attachment 61355 --> https://bugs.winehq.org/attachment.cgi?id=61355 DPI=144 without FREETYPE_PROPERTIES workaround
The same as the first one
https://bugs.winehq.org/show_bug.cgi?id=45159
--- Comment #7 from taisfmq@live.cn --- Created attachment 61357 --> https://bugs.winehq.org/attachment.cgi?id=61357 DPI=96 with FREETYPE_PROPERTIES workaround
The letter 'V' is symmetrical
https://bugs.winehq.org/show_bug.cgi?id=45159
--- Comment #8 from taisfmq@live.cn --- Created attachment 61358 --> https://bugs.winehq.org/attachment.cgi?id=61358 DPI=144 without FREETYPE_PROPERTIES workaround
The letter 'V' is asymmetrical, extremely ugly
https://bugs.winehq.org/show_bug.cgi?id=45159
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Fonts created in |Font rendering |DialogBoxParamW are aliased |inconsistencies in regedit |while fonts created in |dialogs |comctl32 are anti-aliased |
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- Like I said there's bug 41639 for freetype rendering modes, no need to duplicate it here.
https://bugs.winehq.org/show_bug.cgi?id=45159
--- Comment #10 from taisfmq@live.cn --- The main problem is, why the font rendering behaviour is different for controls in these two libraries? They should be as pretty or as ugly as each other :face_palming: :face_palming:
BTW, it seems that winecfg.exe are mostly based on user32 controls
https://bugs.winehq.org/show_bug.cgi?id=45159
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org