http://bugs.winehq.org/show_bug.cgi?id=14518
Summary: GetTextMetrics on Tahoma font metrics returns an invalid tmInternalLeading Product: Wine Version: 1.1.1 Platform: PC-x86-64 OS/Version: Linux Status: NEW Severity: trivial Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: mikolaj.zalewski@gmail.com
Created an attachment (id=14854) --> (http://bugs.winehq.org/attachment.cgi?id=14854) testcase
As the attached testcase demonstrates, Wine returns an invalid tmInternalLeading for Tahoma of size 32. This causes a test for comctl32/tests/status.c to fail. This test fails on Wine with both Wine Tahoma as well as with Tahomas copied from Windows XP and Windows Vista. This suggests that the problem is in gdi32, not the font.
http://bugs.winehq.org/show_bug.cgi?id=14518
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
--- Comment #1 from Austin English austinenglish@gmail.com 2009-01-30 15:29:38 --- Still present in git. I sent the testcase in, after testing on 2K/XP, but it wasn't accepted. Tried resending with Mikolaj's name on the patch instead of mine, still no go:
http://www.winehq.org/pipermail/wine-patches/2009-January/068621.html
Mikolaj, would you resubmit it? I don't see why we need a bug open for this, if we could simply add a testcase...
http://bugs.winehq.org/show_bug.cgi?id=14518
--- Comment #2 from Austin English austinenglish@gmail.com 2009-07-30 11:27:09 --- Still present.
http://bugs.winehq.org/show_bug.cgi?id=14518
--- Comment #3 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2009-08-03 07:17:40 --- I don't think the problem is that it's you that sent the patch - you seem to have properly added a From: line to the patch - so I don't think it will help if I resend the patch. I don't know why it wasn't accepted. Maybe, it's too much an isolated case and Alexandre would prefer merged in some other test that would test more aspects of the core or the patch to have already some code that fixes the bug? Maybe this test will fail at different DPI (when I wrote it, I didn't know yet this affects such tests)?
http://bugs.winehq.org/show_bug.cgi?id=14518
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=14518
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2010-05-27 00:06:53 --- The following patch contains a test case for tmInternalLeading calculation for Tahoma, I've disabled it because the values Wine returns are very different from what Windows returns:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=7d3cb53cf1a5f40094fbc3...
http://bugs.winehq.org/show_bug.cgi?id=14518
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #5 from butraxz@gmail.com 2012-05-18 05:26:15 CDT --- This bug has not been updated for two years and OP by three. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
https://bugs.winehq.org/show_bug.cgi?id=14518
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
https://bugs.winehq.org/show_bug.cgi?id=14518
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Dmitry Timoshkov dmitry@baikal.ru --- Attached test no longer fails under Wine, assuming fixed.
https://bugs.winehq.org/show_bug.cgi?id=14518
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.55.