Highlighted

QueryFontPlatform - crashing only in SDK CC 2020

Explorer ,
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

30

Likes

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

QueryFontPlatform - crashing only in SDK CC 2020

Explorer ,
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

31

Likes

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
Oct 07, 2020 0

Have something to add?

Join the conversation