Add font

I am trying to add a font in code. I found the following in the manual. I get an error saying incorrect token. I removed the quotes so surrounding arial and I get a can find variable error. I thought there might a fnt_arial. This does not work.

I took this directly from the example in the manual.

newfont = font_add('arial', 24, true, true, 32, 128);
 
Top