Forums > Javascript

Max 5 jsui font names not backward compatible

April 27, 2008 | 1:35 am

This used to work in Max 4:
sketch.font("arial black");

But in Max 5 it gives the following error:
atsufont_new: ATSUFindFontFromName failed

And then it won’t render any text. I fixed it by doing this:
sketch.font("Arial Black");

So it looks like it is now case sensitive? Was that intentional?


April 27, 2008 | 5:00 am

>
> So it looks like it is now case sensitive? Was that intentional?

Not exactly *intentional*, but it is the case with the new calls.
Sorry, proper font name capitalization is now necessary.

-Joshua


Viewing 2 posts - 1 through 2 (of 2 total)