Changing text component font on Mac

OS: Mac OS Sonoma 14.2.1
PsychoPy version: v2023.2.2
Standard Standalone? (y)
What are you trying to achieve?:
Change the font on a text component to Arial.

What did you try to make it work?:
I selected the text component, went to the Formatting tab, and in the Font box entered “Arial”.

What specifically went wrong when you tried that?:
When I run the experiment on PsychoPy, the text is displayed in the default Open Sans, and the routine is skipped entirely when I try to pilot it on Pavlovia. I get no error messages that look relevant. Entering other fonts or even gibberish into the Font box gives the same result.

Here’s the part of the output that’s about the component I’m trying to change:

11.4278 EXP Created practice_instructions = TextStim(class=<class ‘psychopy.visual.text.TextStim’>, alignHoriz=method-wrapper(…), alignText=‘center’, alignVert=method-wrapper(…), anchorHoriz=‘center’, anchorVert=‘center’, antialias=True, autoDraw=False, autoLog=True, bold=False, color=array([1., 1., 1.]), colorSpace=‘rgb’, contrast=1.0, depth=0.0, draggable=False, flipHoriz=False, flipVert=False, font=‘Arial’, fontFiles=, height=0.05, italic=False, languageStyle=‘LTR’, name=‘practice_instructions’, opacity=1.0, ori=0.0, pos=array([0., 0.]), rgb=UNKNOWN, text=str(…), units=‘height’, win=Window(…), wrapWidth=1)

Hi There,

Some things that might help:

  1. Have you tried using the TextBox component instead of TextStim.
  2. Have you tried a more recent PsychoPy release.

Best wishes,
Becca

It works correctly in v2024.1.4, thank you!