Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Get Windows Installed Fonts

by jbrugger (Parson)
on Feb 23, 2006 at 05:43 UTC ( #532181=note: print w/ replies, xml ) Need Help??


in reply to Get Windows Installed Fonts

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.


Comment on Re: Get Windows Installed Fonts
Re^2: Get Windows Installed Fonts
by spandox (Novice) on Aug 14, 2013 at 19:54 UTC
    use Tk; my $mw = MainWindow->new(-title => "Fonts"); my @fonts= sort keys { map {$_, 1} @{$mw->fontFamilies}}

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2015-07-04 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls