The textview understands Pango markup. Maybe something to give a try. There are 
a lot of text formats and you might have to do some text parsing depending on 
the format. If it is possible to use gtk_text_buffer_insert_markup(), this can 
save a lot of time dealing with text tags especially if you intend to print the 
text. It is far easier to send a pango markup string to print than to go 
through all the tags and draw them with cairo.

https://developer.gnome.org/pango/stable/PangoMarkupFormat.html

Eric

 


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to