Probably over my head... Trying to get Font Names

Samantha samantha7395 at hotmail.com
Fri Feb 18 22:42:20 EST 2005


Thank you Pierre, that worked. I am still going to try and get the 
TTFQuery+Fonttools to work just out of curiosity.
Thanks again to everyone!!!
S

"Pierre Quentel" <quentel.pierre at wanadoo.fr> wrote in message 
news:3269a8ba.0502181149.275ca26f at posting.google.com...
> "Samantha" <samantha7395 at hotmail.com> wrote in message 
> news:<B8KdneiuyLaKoYjfRVn-vQ at adelphia.com>...
>> I am attempting to extract the Font Names from the installed windows 
>> fonts.
>> I am having a heck of a time getting these rather than the file names.
>> Examples can be seen by going to Control Panel > Fonts
>>
>> Any help or direction is appreciated.
>> S
>
> Try this :
>
> Python 2.3.2 (#49, Oct  2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on 
> win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from Tkinter import Tk
>>>> import tkFont
>>>> root=Tk()
>>>> print tkFont.families(root) 





More information about the Python-list mailing list