Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Get Windows Installed Fonts

by gopalr (Priest)
on Feb 23, 2006 at 05:24 UTC ( #532174=perlquestion: print w/ replies, xml ) Need Help??
gopalr has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks

I am using Windows and I need to get installed all fonts name.

Please advise me.

Thanks
Gopal R.

Comment on Get Windows Installed Fonts
Re: Get Windows Installed Fonts
by jbrugger (Parson) on Feb 23, 2006 at 05:43 UTC
    Windows stores the fonts in \windows\fonts, perhaps you could do a list there, and seek out the names?
    e.g. arial.ttf and arialbd.ttf are two fonts you could see (arial and arial bold).

    Or perhaps Win32::GuiTest::Examples can help you (see eg/fonts.pl).

    "We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.
      use Tk; my $mw = MainWindow->new(-title => "Fonts"); my @fonts= sort keys { map {$_, 1} @{$mw->fontFamilies}}
Re: Get Windows Installed Fonts
by renodino (Curate) on Feb 23, 2006 at 15:38 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://532174]
Approved by monkfan
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-09-19 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (149 votes), past polls