On Wed, 2006-11-29 at 04:13 -0800, YONG WANG wrote:
> I check xxx.pc again for pango, libart and gtk, the version numbers
> are:
> pango: 1.12.0
> libart: 2.3.17
>
> for gtk+ I found two xxx.pc files,
>
> gtk+.pc shows 1.2.10
> gtk+-2.0.pc shows 2.8.15
Ok, with the help from the stack trace that Torben sent, I have found
the problem (even though it wasn't what I thought it was yesterday. The
patch below should fix it, if you cannot wait for tomorrows anoncvs
update.
-Lars
Index: lib/text.c
===================================================================
RCS file: /cvs/gnome/dia/lib/text.c,v
retrieving revision 1.63
diff -u -b -B -r1.63 text.c
--- lib/text.c 29 Nov 2006 11:29:35 -0000 1.63
+++ lib/text.c 30 Nov 2006 06:12:32 -0000
@@ -629,6 +629,8 @@
real height = text->ascent+text->descent;
curs_y = text->position.y - text->ascent + text->cursor_row*text->height;
+ DIA_RENDERER_GET_CLASS(renderer)->set_font(renderer, text->font, text->height);
+
str_width_first =
DIA_RENDERER_GET_CLASS(renderer)->get_text_width(renderer,
text_get_line(text, text->cursor_row),
_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia