sorting out fonts

Raffaello Barella barbarossa.platz at gmail.com
Sat Dec 22 12:55:23 PST 2007


Merry Xmas to everybody
I'm trying to build an  application to sort out the existing fonts according
to their properties .
Working in Windows XP Home, I tried with the following code:

        e =3D wx.FontEnumerator()
        e.EnumerateFacenames ()
        listA =3D e.GetFacenames()

        e.EnumerateFacenames(wx.FONTENCODING_SYSTEM,  fixedWidthOnly =3D Tr=
ue)
        listF =3D e.GetFacenames()

but unfortunately all I get  is listA =3D=3D  listF, i.e. all the existing
fonts, no sorting.
Where is my mistake?

Raffaello
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200712=
22/83082bb9/attachment.htm


More information about the wxpython-users mailing list