Immi, Denis.

I look into the line wrapping, following Denis suggestions.

1. gtk_text_view can bet set to WRAP mode. This works. The current
   bounding box is reset after each change. But this can be removed. In
   that case, the box extends to the end of the page and grows
   vertically as needed (these are the good news).

2. gnome-canvas-text does not support wrapping of text.

https://developer.gnome.org/libgnomecanvas/stable/libgnomecanvas-gnome-canvas-text.html

3. gnome-canvas-rich-text does support wrapping, but it is "poor". it
does not support some features, including the most important, fonts. See below.

(xournal:2363): GLib-GObject-WARNING **: g_object_set_valist: object class 
'GnomeCanvasRichText' has no property named 'font-desc'

(xournal:2363): GLib-GObject-WARNING **: g_object_get_valist: object class 
'GnomeCanvasRichText' has no property named 'text_width'

(xournal:2363): GLib-GObject-WARNING **: g_object_get_valist: object class 
'GnomeCanvasRichText' has no property named 'text_width'

(xournal:2363): GnomeCanvas-WARNING **: rich text item not implemented for 
anti-aliased canvas


-dmg

--
Daniel M. German                  "Speak not about what you have read,
   Azerbaijani Proverb ->          but about what you have understood."
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 

------------------------------------------------------------------------------
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to