Quoting Richard Procter <rnp@...>:
> Hi everyone,
> Firstly, many thanks to those responsible for releasing diacanvas.
> It's exactly what I was looking for and has been quite fun to
> work with.
> I'd like to fix a text wrapping issue I've found when trying to
> use multiple views. I haven't found any mention of it on this list
> but, before I dive in, I was wondering if it was a known problem and/or
> if anyone had some hints as to how much effort it'd be to fix it.
the font problem is tricky, but at this stage (before moving everything
and away from GnomeCanvas/libArt it is not worth fixing. I expect the
disappear once everything is switched to Cairo.
> Say I have two views of the same canvas, which contains an item
> with a text shape. The views have different zoom factors.
> It looks like the text in both views is wrapped at the same
> _pixel_ width, so that the zoomed-in view can get needlessly wrapped at
> 1 character per line. I can make the zoom-in item redraw correctly by
> using the select tool to select it (but it isn't affected by movement, etc).
> My current (wild) guess is that the singleton pango layout context is
> storing some information that shouldn't be shared.
> I notice gaphor 0.7.1 does something similiar if zooming in on
> a zoomed-out diagram.
> I'm running this on windows 2000 (identical behaviour under XP),
> using the gaphor-provided windows libraries from release
> gaphor-0.7.1- win32-py24.zip
> (Are there any published tips for rolling one's own on windows?)
> A brute force upgrade of all the gnome/gtk libraries to the latest
> available precompiled windows versions worked (!) but the problem remains.
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> Diacanvas-devel mailing list