GNOME Bugzilla – Bug 154679
using gnome_canvas_set_pixels_per_unit() does not affect text-items
Last modified: 2006-11-22 11:58:36 UTC
I have a canvas with rect items and text items. The text-size is specified as "size-points", 10.0, "size-set", TRUE Using gnome_canvas_set_pixels_per_unit() to zoom the draing affects the rectangles, but not the text.
This is not a bug, but a missing feature, introducing zooming text might break a lot of applications, if you want to have zooming text I recommend to use the canvas helpers from beast/bse.
Please add a note to the API docs then, so that developers not spend useless hour trying to figure why the text remains unzoomed. Still I belive that all items should zoom and those app that would break then need to be fixed ;-). Anyway thanks for the pointer - I will look into the beast/bse code.
2006-11-22 Sven Herzberg <herzi@gnome-de.org> * docs/reference/tmpl/gnome-canvas-text.sgml, * libgnomecanvas/gnome-canvas-text.c: added some documentation about the fact that GnomeCanvasText doesn't zoom. Closes bug #154679 (Pointed out by Stefan Kost)