pretty, pretty font



while bugzilla is down 8-|... 

...re: [Bug 168638] UML Class Goes Bold:
http://bugzilla.gnome.org/show_bug.cgi?id=168638

"Version details: 0.94 also has bug
Distribution/Version: Fedora Core 3
In a UML class diagram, sometimes when you select a new class from the
tablet, a previously-added class in the diagram goes bold in the font
(class name).  It goes back to normal if you left click on it.  Why is
it going bold in the first place?  How does selecting it fix it?"

...btw, getting the latest checkout of
gtk/glib/glitz/pango/cairo/libpixman et.al. did not effect this bug
(168638) in any way....  a good thing i'd say...

the fix (below) is just to update the respective rect's for all of a
diagrams'/layers' objects a bit more than the existing application
flow does.

anyone worried about dia performance if I tuck a call to someting like
the this in disp_callbacks.c:display_canvas_events() for a right
event?

GList *gl;
GList *list_item;
DiaObject *obj;
Layer *lay;
lay = ddisp->diagram->data->active_layer;
gl = lay->objects;
for (list_item = g_list_last(gl);
list_item != NULL;
list_item = g_list_previous(list_item)){
  obj = (DiaObject*)list_item->data;
  printf("\n*doing an update on: %s\n", obj->type->name);
  diagram_add_update(ddisp->diagram, &objx->bounding_box);
}

as a new guy, i just wanted to say that i really love this project and
all of the awesome libraries that you have incorporated into this
project...  ...in awe...

tk



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