http://bugs.winehq.org/show_bug.cgi?id=33949
Bug #: 33949 Summary: Antialiased fonts have incorrect sizes Product: Wine Version: 1.6-rc4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: b7.10110111@gmail.com Classification: Unclassified
Created attachment 45094 --> http://bugs.winehq.org/attachment.cgi?id=45094 How it looks
When font antialiasing is enabled in ~/.fonts.conf, the text appears somewhat longer and is thus incorrectly centered and clipped. See screenshot, especially note the table headers.
http://bugs.winehq.org/show_bug.cgi?id=33949
--- Comment #1 from Ruslan Kabatsayev b7.10110111@gmail.com 2013-07-04 04:59:44 CDT --- Created attachment 45095 --> http://bugs.winehq.org/attachment.cgi?id=45095 How it is with antialiasing disabled
https://bugs.winehq.org/show_bug.cgi?id=33949
--- Comment #2 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=33949
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Ruslan, which font is that, and what are your fontconfig settings in .fonts.conf that affect rendering?
https://bugs.winehq.org/show_bug.cgi?id=33949
--- Comment #4 from Ruslan Kabatsayev b7.10110111@gmail.com --- (In reply to Nikolay Sivov from comment #3)
Ruslan, which font is that, and what are your fontconfig settings in .fonts.conf that affect rendering?
I'm not sure what the fonts is. winecfg seems to say Tahoma (Active Title Text, Message Box Text) or Algerian (Menu Text, Tooltip Text), although I've never actually encountered Algerian neither in menus nor in tooltips.
Doing
chmod a-rx /usr/share/wine/fonts wineserver -k winecfg
prevents the bug from happening. OTOH, doing
chmod a+rx /usr/share/wine/fonts chmod a-rx /usr/share/fonts mv ~/.fonts{,.bak} wineserver -k winecfg
does reproduce the bug. I've tried running
strace -f -e open winecfg |& grep -v ENOENT | grep '.' | grep font
and it confirms that the font loaded is tahoma.ttf from /usr/share/wine/fonts directory.
I've tried renaming ~/.config/fontconfig/fonts.conf, but it didn't change anything. And /etc/fonts/fonts.conf is the default installed with fontconfig 2.12.1.