Bold not working for TextSTim

I’m using textStim to display a message (from Coder view). However, the text I want bolded doesn’t actually show up bolded; also changing height does nothing.

practInstr1_2 = visual.TextBox(win, text="TEXT HERE", font='Arial', color=(-1,-1,-1), alignText='center', bold=True, pos=(0,50), height=20, units='pix')

I’m using Python 3.6.1, PsychoPy 2020.2.4

visual.TextBox is the alpha version, if you switch to visual.TextBox2 then it should work (after changing a few parameter names, such as height to letterHeight)

1 Like