views:

158

answers:

1

Is there a wrapper around the Win32 API for getting font information without actually instantiating an instance of the .NET Font class?

For example, some fonts do not have a regular style so I need to determine what styles are valid for a font without actually creating an instance of it.

+3  A: 

What about FontFamily.IsStyleAvailable? You'll still have to instantiate the FontFamily class though, and I don't know what exactly is involved in that, but maybe it's more light-weight than Font.

OregonGhost
Yes this appears to be what was needed.
cfeduke