[Bug 15906] New: EnumFonts returns each font multiple times

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 4 04:26:14 CST 2008


           Summary: EnumFonts returns each font multiple times
           Product: Wine
           Version: 1.1.5
          Platform: PC-x86-64
               URL: http://msdn.microsoft.com/en-
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdi32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: goeran at 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(!)

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.

More information about the wine-bugs mailing list