[Bug 42171] New: IrfanView's 4.44 Help -> About window has wrong placement for textboxes
https://bugs.winehq.org/show_bug.cgi?id=42171 Bug ID: 42171 Summary: IrfanView's 4.44 Help -> About window has wrong placement for textboxes Product: Wine Version: 2.0-rc4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs(a)winehq.org Reporter: dark.shadow4(a)web.de Distribution: ArchLinux Created attachment 56775 --> https://bugs.winehq.org/attachment.cgi?id=56775 Wrong placement of labels Note: Split of and blocked by 6682, only works with patches not yet in wine. https://source.winehq.org/patches/data/128612 https://source.winehq.org/patches/data/128613 The textboxes in irfanviews about dialog overlap the image. The issue is somehow related to Bug 41639. If my lib32-freetype2 is up to date with version 2.7, the font is ugly, but it renders fine. If downgraded, the font is fine, but the placement is wrong. I can submit a testcase for that, but which font can I rely on? Wine doesn't have all fonts after all. Tahoma maybe? -- 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=42171 --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 56776 --> https://bugs.winehq.org/attachment.cgi?id=56776 Correctly rendered with freetype 2.7, but ugly font -- 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=42171 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |6682, 41639 -- 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=42171 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Yes, Tahoma is default for dialogs. -- 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=42171 --- Comment #3 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 56777 --> https://bugs.winehq.org/attachment.cgi?id=56777 Test program to check if wine font size equals size on windows (In reply to Nikolay Sivov from comment #2)
Yes, Tahoma is default for dialogs. Thanks, I just checked, but the dialog seems to request "Microsoft Sans Serif".
I attached a small test program to show the issue, it's hacky but it works. Output on windows:
Font gotten: Microsoft Sans Serif Correct size: 8
On linux with freetype 2.6.5
Font gotten: Arial Wrong size: got 7, expected 8.
On linux with freetype 2.6.5
Font gotten: Arial Correct size: 8
Maybe a font substitution problem? But it does work with newer freetype... -- 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=42171 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #56777|0 |1 is obsolete| | --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 56778 --> https://bugs.winehq.org/attachment.cgi?id=56778 Updated test program to show the issue Extended my test program and run a few more tests... Windows:
Font gotten: Microsoft Sans Serif Got size: got 8 sz: 405, 16 Font gotten: Arial Got size: got 7 sz: 389, 16
Linux freetype 2.7
Font gotten: Arial Got size: got 8 sz: 397, 16 Font gotten: Arial Got size: got 8 sz: 397, 16
Linux freetype 2.6.5
Font gotten: Arial Got size: got 7 sz: 389, 16 Font gotten: Arial Got size: got 7 sz: 389, 16
New freetype seems to render the chars bigger. GdiGetCharDimensions does cut off decimals:
(sz.cx / 26 + 1) / 2
For freetype 2.7 this is
15.2692307692 --> 15
For freetype 2.6.5 this is
14.9615384615 -> 14
When on freetype 2.6.5 Arial is rendered to small. We can't even implement a rounding for such cases, because if we actually request Arial as font, it needs to be that way. When on freetype 2.7 Arial is rendered bigger, what changes the size from what we expect on windows.. But it works fine in that specific case, where Arial is substituted... So we actually have two issues here, Arial being a bad substitution, and freetype 2.7 leading to Arial being to big. -- 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=42171 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase -- 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=42171 Bug 42171 depends on bug 6682, which changed state. Bug 6682 Summary: IrfanView's 4.44 Help -> About window is missing a picture on the left https://bugs.winehq.org/show_bug.cgi?id=6682 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- 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=42171 Bug 42171 depends on bug 6682, which changed state. Bug 6682 Summary: IrfanView's 4.44 Help -> About window is missing a picture on the left https://bugs.winehq.org/show_bug.cgi?id=6682 What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- -- 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=42171 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #5 from Fabian Maurer <dark.shadow4(a)web.de> --- Still an issue in wine-3.0-rc5, when using old freetype or specifying FREETYPE_PROPERTIES="truetype:interpreter-version=35". -- 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=42171 --- Comment #6 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 60171 --> https://bugs.winehq.org/attachment.cgi?id=60171 Hack to fix the issue I made a hack for that issue already a year ago, attaching it now. It solves the issue, but is probably not the way to go. -- 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=42171 --- Comment #7 from Artem S. Tashkinov <aros(a)gmx.com> --- This might be fixed in Wine-4.7. Please recheck. -- 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=42171 Bug 42171 depends on bug 41639, which changed state. Bug 41639 Summary: Wine with freetype 2.7 causes font rendering issues https://bugs.winehq.org/show_bug.cgi?id=41639 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- 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=42171 Bug 42171 depends on bug 6682, which changed state. Bug 6682 Summary: IrfanView's 4.44 Help -> About window is missing a picture on the left https://bugs.winehq.org/show_bug.cgi?id=6682 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED -- 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=42171 --- Comment #8 from Fabian Maurer <dark.shadow4(a)web.de> --- Still an issue as of wine-7.5, see comment 5. -- 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=42171 Bug 42171 depends on bug 6682, which changed state. Bug 6682 Summary: IrfanView's 4.44 Help -> About window is missing a picture on the left https://bugs.winehq.org/show_bug.cgi?id=6682 What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED |--- -- 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.
http://bugs.winehq.org/show_bug.cgi?id=42171 Bug 42171 depends on bug 6682, which changed state. Bug 6682 Summary: IrfanView's 4.44 Help -> About window is missing a picture on the left http://bugs.winehq.org/show_bug.cgi?id=6682 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla