I'm trying to use DrawFormattedText to display on the screen a string that includes an ampersand, like 'Abercrombie & Fitch'. However, what it displays instead is:
Abercrombie Fitch.
Note the two spaces between "Abercrombie" and "Fitch," i.e., the ampersand isn't appearing altogether, although the spaces to either side of it are being displayed.
I think this is a problem with PsychToolbox, and not a problem with Matlab, because within the Matlab command window, if I type:
A = 'Abercrombie & Fitch';
A
It then spits out:
A =
Abercrombie & Fitch
Therefore, Matlab seems to be processing the ampersand within the string just fine. It just isn't working when I use DrawFormattedText within PsychToolbox. Has anyone else ever had this problem? What can I do to fix it? Any help would be greatly appreciated. Thank you very much.
Abercrombie Fitch.
Note the two spaces between "Abercrombie" and "Fitch," i.e., the ampersand isn't appearing altogether, although the spaces to either side of it are being displayed.
I think this is a problem with PsychToolbox, and not a problem with Matlab, because within the Matlab command window, if I type:
A = 'Abercrombie & Fitch';
A
It then spits out:
A =
Abercrombie & Fitch
Therefore, Matlab seems to be processing the ampersand within the string just fine. It just isn't working when I use DrawFormattedText within PsychToolbox. Has anyone else ever had this problem? What can I do to fix it? Any help would be greatly appreciated. Thank you very much.