How to apply Monospaced font to TText

Dear Rooters,

Could you please tell me how to set the font of TText as Monospaced font? I search the class index, tutorials and forum, but can’t find any related topic.

Thank you very much.

Use the courier font.
root.cern.ch/root/html/TAttText.html

Thank you very much :slight_smile: