We have updated to JMP 16 and immediately users pointed out some bugs in the output of our scripts.
For instance, consider the script below:
detailsText =
"This is long text that is made dynamically\!nit has some dynamica numeric values\!n"
||"each on of which is important and \!nneeds to be shown formatted in <b><font color='Red'>RED FONT</font></b>"
|| " which might also by dynamic\!nLike this: <b><font color='" || "Red"
|| "'>" || Char( 6 ) || "</font></b>\!n this here is your value and " || "here is" || " another value: <font color='green'>" || Char( 0 ) || "</font>"
;
detailsTB = Text Box( detailsText );
//detailsTB << Set Font( "Agency FB", 12 );
detailsTB << Set Font( "Calibri", 12 );
detailsTB << Markup;
detailsTB << Justify Text( "right" );
w = New Window( "Formatted Text", detailsTB );
//detailsTB << Set Font( "Agency FB", 12 );
it will result in the window shown below.
But if we uncomment the line that sets a different font (in this case Agency FB), or run this command afterwards, then the text (even though is still present in the textbox, is not rendered like below:
And I'm sure the text is still there: it's just not rendered.
How do I fix it? If this is a bug - is it known? When will it be fixed?