MATLAB Programming/Psychtoolbox/Screen Commands/TextStyle

Usage:

oldStyle=Screen(windowPtr,'TextStyle',[style])

Get/set the font style for future text draws in this window. Useful values for style follow; they may be OR'd.

style can be 0=normal, 1=bold, 2=italic, 4=underline. (Outline, Condense and Extend are not yet supported on the Windows version.)