[Bug 15906] New: EnumFonts returns each font multiple times
http://bugs.winehq.org/show_bug.cgi?id=15906 Summary: EnumFonts returns each font multiple times Product: Wine Version: 1.1.5 Platform: PC-x86-64 URL: http://msdn.microsoft.com/en- us/library/ms533964(VS.85).aspx OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: goeran(a)uddeborg.se Created an attachment (id=17078) --> (http://bugs.winehq.org/attachment.cgi?id=17078) Test program executing EnumFonts() According to the documentation (see URL) the EnumFonts function returns one (random) font of each available typeface. The Wine implementation returns each typeface many times. As a test case I installed the typeface "Signet Roundhand" and ran the attached test program. Under indows it returns "Signet Roundhand" once. Under wine it returns it three times, with different values for lfCharSet and tmCharSet. I also copied the Arial font files from Windows (arial.ttf, ariali.ttf, arialbd.ttf, and arialbi.ttf) to my $HOME/.fonts directory. Under Windows, Arial is returned once with the test program. Under Wine it is returned ten(!) times. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 --- Comment #1 from Göran Uddeborg <goeran(a)uddeborg.se> 2009-07-09 15:27:35 --- I just checked Wine 1.1.23, and the problem is still there. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 Higor Eurípedes <heuripedes(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |heuripedes(a)gmail.com --- Comment #2 from Higor Eurípedes <heuripedes(a)gmail.com> 2009-07-24 07:43:05 --- Same problem on 1.1.26. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 Rein Klazes <wijn(a)online.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #3 from Rein Klazes <wijn(a)online.nl> 2009-08-08 05:30:25 --- Confirming, this is true for EnumFonts16 as well. There are a number of win16 programs that crash after running out of heap space, just because of the the large number of fonts that EnumFonts return. It is quite possible they would run normally if each font was reported once. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 Ken Sharp <kennybobs(a)o2.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |19660 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 --- Comment #4 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-01-27 19:14:39 CST --- Created attachment 38574 --> http://bugs.winehq.org/attachment.cgi?id=38574 Compiled example -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #5 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-01-27 20:38:10 CST --- I tried to test this bug but I'm unsure about the results. I installed the Signed Roundhand font from comment 0 and after running the example program I got it listed only once. But installing a typeface means installing the entire font family (italic, bold, regular), right? And as I could not find the other fonts from this set I still consider this bug as open. Font: http://www.fonts101.com/fonts/view/Handwriting/16214/Signet_Roundhand.aspx -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 --- Comment #6 from Göran Uddeborg <goeran(a)uddeborg.se> 2012-01-28 06:53:24 CST --- Created attachment 38580 --> http://bugs.winehq.org/attachment.cgi?id=38580 Font to test with There are apparently several fonts of the same name. I'm not completely sure what I used when I tested. I should of course have made a better reference to it. But better late than never. The font you used for testing I also only get once. But If I put the attached font, which I found at http://www.fontesgratis.com.br/s/Signet-Roundhand-ATT.php, I get "Signet Roundhand ATT" listed three times. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 butraxz(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz(a)gmail.com --- Comment #7 from butraxz(a)gmail.com 2013-04-21 14:26:32 CDT --- Link is dead. Is still an issue with 1.5.28 or higher ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 --- Comment #8 from Bruno Jesus <00cpxxx(a)gmail.com> 2013-04-21 15:23:25 CDT --- There is nothing wrong with the links, the testcase is attached and the font can be downloaded. Still in wine 1.5.28. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 Sagawa <sagawa.aki+winebugs(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs(a)gmail.c | |om -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=15906 --- Comment #9 from Bruno Jesus <00cpxxx(a)gmail.com> --- Created attachment 56339 --> https://bugs.winehq.org/attachment.cgi?id=56339 hack In order to test bug 19660 I did this small hack, it affects the enumeration of all font functions so should only be used in this bug. -- 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=15906 Jens Staal <staal1978(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |staal1978(a)gmail.com -- 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=15906 --- Comment #10 from Jens Staal <staal1978(a)gmail.com> --- This "hack" seems to work quite well. Would it be possible to conditionally enable it when the Windows version is set to Windows 3.11 or lower (so implicitly 16-bit programs which typically have issues with too many fonts) in winecfg? Would this non-invasive change to all non-Windows 3.11 WINEPREFIXes be an acceptable solution for inclusion? -- 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=15906 Detlef Riekenberg <wine.dev(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev(a)web.de -- 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=15906 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget(a)codeweavers.com Keywords| |source -- 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=15906 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- 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