[Gtk-sharp-list] Superscript in TextView

Daniel Hughes trampster at gmail.com
Thu Mar 14 10:58:53 UTC 2013


How do I make a bit of text superscript in a GTK TextView.

The docs say I should use the Rise property. However it doesn't work

var textTag = new TextTag("ss");
textTag.SizePoints = 7;
textTag.Rise = 5;

The text seems complete uneffected by any value I set on the Rise
property. The SizePoints is set in this example to prove that the
TextTag is getting applied, when I change SizePoints the text size
changes. However the Rise property does nothing.

What am I doing wrong? How do I make text superscript?


More information about the Gtk-sharp-list mailing list