On 09/04/2016 04:48 PM, D M German wrote:
> 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

Hah. The last warning is the important one: we have an anti-aliased 
canvas, and GnomeCanvasRichText is just NOT IMPLEMENTED. Hahaha.  Okay, 
that's why I didn't use it :)  We could use a GnomeCanvasWidget 
containing a GtkTextView (non-editable most of the time) but then we 
have to deal with sizing ourselves (and no fractional pixels allowed, 
same rounding issues as currently when a text box is being edited).


(The properties about text width etc. I believe would be set not in the 
GnomeCanvasRichText but in the underlying Gtk text widget that it 
interfaces with. (?) Not sure.).

Best,
Denis

-- 
Denis Auroux
UC Berkeley, Department of Mathematics
817 Evans Hall, Berkeley CA 94720-3840, USA
aur...@math.berkeley.edu

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

Reply via email to