GetPostScriptFontName not working correctly with missing fonts
For quire some time this approach was working perfectly in our plugin:
sAIFont->GetPostScriptFontName(fontKey, postScriptName, 1024);
But recently in 29-30 version of Illustrastor it does not return anything when the fonts are missing. The font names are still returned correctly when the fonts are installed in the system. But if they are not, this returns an empty string and the result is an error. Other similar methods from AIFont are also not working correctly.
I have also tested it in the recent Illustrator Beta, with the same result.
Can someone explain what is happening and why this was somehow changed and how should it work now?
