Skip to main content
December 8, 2025

GetPostScriptFontName not working correctly with missing fonts

  • December 8, 2025
  • 1 reply
  • 94 views
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?

1 reply

Smriti Capoor
Community Manager
December 9, 2025

A bug has been raised for this.