If it's not in the FontFamily list of families then you can't use it.

As far as I know this means it will cover all the fonts in the fonts folder.
(Although I'm not sure about the ancient font formats - the strange
plotter-like fonts and the non-scalable ones.  I also don't care...)  The
interesting question is going to be "What fonts are available for me to
use?"  The contents of the font folder are an irrelevant implementation
detail, surely?


--
Ian Griffiths
DevelopMentor

----- Original Message -----
From: "Dustin Wish" <[EMAIL PROTECTED]>


> Does the fontFamily object cover all fonts in the fonts folder on the
> client? If not then a check of the folder would solve that real quick.
>
> ----- Original Message -----
> From: Ian Griffiths <[EMAIL PROTECTED]>
>
> > Why would that be easier than searching through the list of FontFamily
> > objects returned by the mechanisms I mentioned?
> >
> > ----- Original Message -----
> > From: "Dustin Wish" <[EMAIL PROTECTED]>
> >
> >
> > > Try doing a search through the harddrive on the client to see
> > > if the file exists?
> > >
> > >
> > > ----- Original Message -----
> > > From: Ian Griffiths <[EMAIL PROTECTED]>
> > >
> > > > 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.
> > > >
> > > > ----- Original Message -----
> > > > From: "Jeff Roberts" <[EMAIL PROTECTED]>
> > > >
> > > >
> > > > Is there a simple way to determine if a specific Font is
> > > > installed from C#?

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