Ok. I will start with my whole problem. I was migrating our MFC code
which generates some eps files to C#. The MFC applications were using
adobe fonts. GDI in C# doesnt support adobe fonts. So I converted the
adobe fonts to true-type fonts using FontLab. I am done all migrating
to C# and now as the last step, I had to use adobe indesign which puts
these eps files and some templates together to generate a pdf file.
Adobe indesign was showing little squares for the characters in the eps
file because it doesnt support true type fonts that are embedded inside
the eps files. In between after reading some stuff on adobe and
regarding Csharp, it looked like C# and Adobe Indesign agreed on
OpenType fonts. I wanted to test if OpenType fonts really work in C#.
So I downloaded an OpenType font into my windows/fonts directory and
tried doing new font(...) which is reverting to "Microsoft Sans Serif"
which means that the requested font cannot be found so the closest
match is being made. Next I wrote a quick application to loop through
the font families to get the list of fonts and this opentype font
doesnt show up. Am I missing something. Has somebody really seen
OpenType fonts work with C#.
Any help would be greatly appreciated.
Lalasa.