• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

QueryFontPlatform - crashing only in SDK CC 2020

Explorer ,
Oct 07, 2020 Oct 07, 2020

Copy link to clipboard

Copied

Hello

 

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

 

ヒラギノ丸ゴ Pro W3

Chetan_suchet_0-1602073252411.png

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

 

TOPICS
SDK

Views

95

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation