[Bug 45159] New: Fonts created in DialogBoxParamW are aliased while fonts created in comctl32 are anti-aliased
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(a)winehq.org Reporter: taisfmq(a)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? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 taisfmq(a)live.cn changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 taisfmq(a)live.cn changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |taisfmq(a)live.cn --- Comment #1 from taisfmq(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 taisfmq(a)live.cn changed: What |Removed |Added ---------------------------------------------------------------------------- CC|taisfmq(a)live.cn | -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|user32 |-unknown --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Does a workaround from bug 41639 help? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 --- Comment #3 from taisfmq(a)live.cn --- Thanks Nikolay, it changes but it does not help, at least not what I want -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 --- Comment #4 from taisfmq(a)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) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 --- Comment #5 from taisfmq(a)live.cn --- Created attachment 61354 --> https://bugs.winehq.org/attachment.cgi?id=61354 DPI=144 with FREETYPE_PROPERTIES workaround -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 --- Comment #6 from taisfmq(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 --- Comment #7 from taisfmq(a)live.cn --- Created attachment 61357 --> https://bugs.winehq.org/attachment.cgi?id=61357 DPI=96 with FREETYPE_PROPERTIES workaround The letter 'V' is symmetrical -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 --- Comment #8 from taisfmq(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 Nikolay Sivov <bunglehead(a)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(a)gmail.com> --- Like I said there's bug 41639 for freetype rendering modes, no need to duplicate it here. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 --- Comment #10 from taisfmq(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=45159 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- 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.
participants (1)
-
wine-bugs@winehq.org