Skip to main content
Inspiring
October 7, 2020
Question

QueryFontPlatform - crashing only in SDK CC 2020

  • October 7, 2020
  • 0 replies
  • 131 views

Hello

 

InterfacePtr<IFontMgr> iFontMgr(GetExecutionContextSession(), UseDefaultIID());
if(iFontMgr)
{
    IPMFont* pfont = iFontMgr->QueryFontPlatform(fontname,IFontMgr::kNormal);
    ....
}

 

ヒラギノ丸ゴ Pro W3

I am trying to Query Font Platform like source code above. Font name I am setting is  Japanese font (mentioned above). Above code perfectly works for all SDK excepts ID SDK 2020. Even this code works with SDK2021

 

I am just not getting why its crashing only for SDK CC2020, can it be Adobe SDK bug? This happens only on Macintosh Platform

 

Can someone help me in this,

 

Thanks 

Chetan

 

This topic has been closed for replies.