After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 154679 - using gnome_canvas_set_pixels_per_unit() does not affect text-items
using gnome_canvas_set_pixels_per_unit() does not affect text-items
Status: RESOLVED NOTABUG
Product: libgnomecanvas
Classification: Deprecated
Component: core
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Sven Herzberg
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2004-10-06 13:09 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2006-11-22 11:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Sauer (gstreamer, gtkdoc dev) 2004-10-06 13:09:51 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.
Comment 1 Sven Herzberg 2004-10-19 23:35:21 UTC
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.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2004-10-21 07:11:02 UTC
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.
Comment 3 Sven Herzberg 2006-11-22 11:58:36 UTC
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)