Re: Zooming the canvas messes up text



On Wed, 2009-08-26 at 11:16 +0100, Damon Chaplin wrote:
> On Tue, 2009-08-25 at 19:38 -0700, Aditya Rajgarhia wrote:
> > Hi,
> > 
> > I have noticed, both in my application as well as in the demos 
> > distributed with GooCanvas, that zooming the canvas using set_scale() 
> > can cause issues with any text on the canvas.
> > 
> > As the canvas is zoomed increasingly, some of the letters within a text 
> > widget do not scale properly, and begin to overlap with each other. You 
> > can see this in the examples/text demo application (by scaling the text 
> > a few times), or in the following screenshot from my application: 
> > http://img199.imageshack.us/img199/300/badtext.png
> > 
> > Has anyone come across this issue before? Unless I'm doing something 
> > wrong, this is quite a bug.
> 
> I have noticed similar things before. I'd guess it is a Pango bug, as
> GooCanvas doesn't have much to do with the layout of the letters in the
> text.
> 
> It would be useful to try to reproduce it in a simple GTK+ app, and also
> check if it is a known bug.

I've added a Pango bug and test case:
  http://bugzilla.gnome.org/show_bug.cgi?id=593538

I'm not really sure where the problem is.

Damon




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]