http://bugs.winehq.org/show_bug.cgi?id=24309
Summary: Recaching Fonts on each start Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: fonts AssignedTo: wine-bugs@winehq.org ReportedBy: thomas.belau@gmx.de
Hi!
The bug is an old one. It was shown in http://bugs.winehq.org/show_bug.cgi?id=17674 but never really fixed. There seems to be a work around for Mac only. The bug himselves is persisting.
I found that the prob comes with free scalable fonts. A call of dlls/winex11.drv/xfont.c function XFONT_ReadCachedMetrics fails if any font has in pfi->df.dfPixelHeight no value. This seems to be so on nearly every free scalable font. A possible solve is to ask first wether it is a free scalable font (if(pfi->fi_flags&FI_SCALABLE) {...) and if not to ask wether this value is zero (...} else if(pfi->df.dfPixelHeight==0) {...).
After this small patch my wine was recaching the fonts (about 16000...) in a correct manner. A Patch (diff -U...; patch it directly in the winex11.drv directory) is appended.
http://bugs.winehq.org/show_bug.cgi?id=24309
--- Comment #1 from thomas.belau@gmx.de 2010-09-08 10:01:11 CDT --- Created an attachment (id=30634) --> (http://bugs.winehq.org/attachment.cgi?id=30634) a hopefulle general path to the known prop
My patch wasn't uploaded?
http://bugs.winehq.org/show_bug.cgi?id=24309
thomas.belau@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #30634|a hopefulle general path to |a hopefully general path to description|the known prop |the known prop
http://bugs.winehq.org/show_bug.cgi?id=24309
thomas.belau@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #30634|a hopefully general path to |a hopefully general patch description|the known prop |to the known prop
http://bugs.winehq.org/show_bug.cgi?id=24309
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |wylda@volny.cz
--- Comment #2 from Wylda wylda@volny.cz 2010-09-08 11:31:09 CDT ---
Is there an aplication, which will show results of your work/patch?
Please note, that patches are not picked up from bugzilla. Check http://wiki.winehq.org/SubmittingPatches then see http://source.winehq.org/patches/ if it was merged.
http://bugs.winehq.org/show_bug.cgi?id=24309
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|fonts |-unknown
http://bugs.winehq.org/show_bug.cgi?id=24309
--- Comment #3 from thomas.belau@gmx.de 2010-09-10 19:08:05 CDT --- Wine loads the font cache on each start. When the chache is discarded on any error it is rebuilded. So there is not a special (Windooze-)app that causes the bug. It depends on the installed fonts.
Take any TTF, let run mkfontscale and each font with "...-0-0-0-0-x-..." (the usual case) causes the bug.
http://bugs.winehq.org/show_bug.cgi?id=24309
--- Comment #4 from butraxz@gmail.com 2013-06-15 05:16:40 CDT --- This has not been updated for over 900 days.
Is this still an issue in 1.6-rc2 or higher or is this abandoned ?
https://bugs.winehq.org/show_bug.cgi?id=24309
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to butraxz from comment #4)
This has not been updated for over 900 days.
Is this still an issue in 1.6-rc2 or higher or is this abandoned ?
Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=24309
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Austin English austinenglish@gmail.com --- Closing.