AARRRRGGGGGHHHHHHHH!!!!! I'm pulling my hair out here. OpenType fonts aren't working!

  • Thread starter Thread starter Tim Greenwood
  • Start date Start date
T

Tim Greenwood

We've added the opentype font 'Myriad' to our windows install. There are
several variations. These fonts do not show up in the
System.Drawing.FontFamily.Families array. I wrote a quick Visual C++ app to
use the EnumFontFamilies() WINAPI to get a list of fonts and they show up.
There's got to be something simple that's being missed here.

Has anyone successfully used OpenType fonts in a dotnet app??
 
P.S. If I use the System.Drawing.Font and do a CreateFont using the name of
one of these Myriad variations, it reverts to the "Microsoft Sans Serif"
which would seem to tell me that the requested font cannot be found so the
closest match is being made.
 
Back
Top