https://bugs.winehq.org/show_bug.cgi?id=39387
Bug ID: 39387 Summary: "W" glyph looks corrupted here (Mac OS X-only bug) Product: Wine Version: 1.7.51 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winebugs140@gmail.com
Created attachment 52495 --> https://bugs.winehq.org/attachment.cgi?id=52495 Corrupted "W"
If you launch the Horn of the Abyss installer (a link provided), you can see that the words "Welcome" and "Wizard" have a strange looking "W" in them. The same issue affects the Etrom installer: http://www.fileplanet.com/175674/download/Etrom:-The-Astral-Essence-Demo
On Linux everything looks fine. I might be wrong, but I think this is not the first time I see corrupted fonts on OS X. Maybe someone should check font rendering on this system?
I've attached screenshots illustrating the problem. Installing "corefonts" doesn't help. Nothing unusual in the logs.
OS X 10.9.5
https://bugs.winehq.org/show_bug.cgi?id=39387
--- Comment #1 from WineBuG winebugs140@gmail.com --- Created attachment 52496 --> https://bugs.winehq.org/attachment.cgi?id=52496 Correct "W"
https://bugs.winehq.org/show_bug.cgi?id=39387
WineBuG winebugs140@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://web.archive.org/web | |/20140303015916/http://www. | |vault.acidcave.net/download | |/HotA_1.3.2_eng_setup.exe
https://bugs.winehq.org/show_bug.cgi?id=39387
WineBuG winebugs140@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=39387
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Rendering is done by freetype on and doesn't depend on a platform font rendering. However it's certainly possible you're not using same version/build flags for freetype on both systems. Is that possible your macos lib is old or built with some features disabled?
https://bugs.winehq.org/show_bug.cgi?id=39387
--- Comment #3 from Ken Thomases ken@codeweavers.com --- (In reply to Nikolay Sivov from comment #2)
Rendering is done by freetype on and doesn't depend on a platform font rendering. However it's certainly possible you're not using same version/build flags for freetype on both systems. Is that possible your macos lib is old or built with some features disabled?
Well, the other source of potential differences is with the font itself. OS X comes with several faces of Verdana. According to a +font log, the system Verdana is preferred over the one from Core Fonts because the system one has a higher version (5028f vs. 10000).
I'm seeing results very similar to the Corrupted "W" screenshot using the FreeType from XQuartz and the libcxfreetype from a trunk CrossOver build.
Indeed, if I use /Applications/Font Book.app to disable the system Verdana, then Wine uses the Verdana faces from Core Fonts and the Horn of the Abyss installer looks like WineBuG's Correct "W" screenshot. However, I'm not sure what's really correct. If I'm interpreting the +font log correctly, the whole string is supposed to be rendered bold.
https://bugs.winehq.org/show_bug.cgi?id=39387
--- Comment #4 from Ken Thomases ken@codeweavers.com --- (In reply to Ken Thomases from comment #3)
However, I'm not sure what's really correct. If I'm interpreting the +font log correctly, the whole string is supposed to be rendered bold.
OK, comparing the installer text with Notepad, I see that the the Correct "W" screenshot really is bold already and that Corrupted "W" is weird for some reason. But, in any case, the difference from Linux seems to be a consequence of the specific version of the font. FreeType handles the Mac version oddly.
https://bugs.winehq.org/show_bug.cgi?id=39387
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- I tried with ftstring program from freetype-demos with Verdana.ttf from 10.11 and I see nothing wrong in rendering of W glyph, tried sizes from 6 to 50 with hinting on and off. Are we talking about regular face?
https://bugs.winehq.org/show_bug.cgi?id=39387
--- Comment #6 from Ken Thomases ken@codeweavers.com --- (In reply to Nikolay Sivov from comment #5)
I tried with ftstring program from freetype-demos with Verdana.ttf from 10.11 and I see nothing wrong in rendering of W glyph, tried sizes from 6 to 50 with hinting on and off. Are we talking about regular face?
No, not the regular face. As mentioned, the installer is using Verdana Bold.
https://bugs.winehq.org/show_bug.cgi?id=39387
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|"W" glyph looks corrupted |Mac OS Verdana Bold "W" |here (Mac OS X-only bug) |glyph looks bolder than the | |rest at
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Yes, I can reproduce this with Verdana Bold from 10.11 using ftstring program. This is related to hinting - with sizes 14, 15 and 16 points with hinting enabled 'W' stands out as visually bolder than the rest (I'm using WTEST as a test string). Smaller sizes give more uniform glyph weight, and >16 difference with or without hinting is even less noticeable. So in general disabling hinting fixes it for this font, that's probably why this issue doesn't matter when macos native renderer is used.
https://bugs.winehq.org/show_bug.cgi?id=39387
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Mac OS Verdana Bold "W" |Mac OS Verdana Bold "W" |glyph looks bolder than the |glyph looks bolder than the |rest at |rest at size 16 with | |hinting on
https://bugs.winehq.org/show_bug.cgi?id=39387
WineBuG winebugs140@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |fonts