OpenNURBS Annotation corner error

Hello,
I want to get an annotation object’s corner information from rhino file. The code for me works under Windows MSVC but on Mac and linux platforms I can’t get the correct corner information.

It seems that m_text_string in ON_TextRun was for some reason not set properly after calling PlainTextWithFields().

I am looking forward to your reply.

Many Thanks

main.cpp (1.7 KB)
text_attributes.3dm (25.2 KB)

Hi @Alex37,

Before I dig into this, please confirm that the Mac and Linux platforms you are testing on have the Arial font used by the text object in the 3dm file.

Thanks,

– Dale

Hi Dale,

I just checked and yes, I can confirm that the platforms have Arial font.