The FontFamily class provides a GetFamilies method and a Families property.
These both provide you with a complete list of available fonts.  You can
then look for the font you require.  Or you can use the
InstalledFontCollection class.  Normally this will return the same
information.  (Unless your client application is using private copies of
fonts.)

I'm not aware of a way of looking the name to see if it is installed though.
As far as I'm aware you just have to search the list.

--
Ian Griffiths
DevelopMentor

----- Original Message -----
From: "Jeff Roberts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 2:11 PM
Subject: [DOTNET] Fonts


Is there a simple way to determine if a specific Font is installed from C# ?

thank you

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to