I am trying to randomize the font type on each trial of a task. Currently I have a list of fonts in a code component (e.g. fonttype = [‘Times New Roman’, ‘Arial’, ‘Calibri’]). I then shuffle(fonttype) and in the font options I have $fonttype and set every repeat.
This seems to work but I get the ‘Alert’:
$fonttype not found locally, will check Google Fonts on next run.
Can anyone help fix this so I don’t get the alert? More importantly, is there a better way to randomize the font type on each trial?
Also, all the fonts in the list are downloaded locally.
Thanks in advance for your help!