[Tutor] superscript with easydialogs

Terry Carroll carroll at tjc.com
Mon Aug 6 23:34:36 CEST 2007


On Mon, 6 Aug 2007, Alan Gauld wrote:

> "Ben" <nebpro at gmail.com> wrote
> 
> > I have been working with easydialogs module lately
> > especially the progress bar (for Windows). I would
> > like to put superscript text like (TM) to (™) when
> > calling the label function.
> 
> The super-scripting is controlled by the text style,
> font settings etc. You may be able to find a font that
> supports TM as a superscript specifically within its
> extended charater set. But I dont know if EasyDialogs
> even allows you to change the font...

I don't know easydialogs, but could you just use Unicode?

label = u"SpamEateru\2122, now with EGG support"

where 2122 is the Unicode codepoint for the TM symbol.



More information about the Tutor mailing list