# HG changeset patch # User Todd Kulesza # Date 970981426 0 # Node ID 032a6e1553c16940bf83a460bd50427c05cbb769 # Parent 0f9fc69a1f3ba528418e70e28287c5fd54c5dbd4 [gaim-migrate @ 967] grr, this should fix the smiley-size issue once and for all... committer: Tailor Script diff -r 0f9fc69a1f3b -r 032a6e1553c1 src/gtkhtml.c --- a/src/gtkhtml.c Sun Oct 08 04:29:34 2000 +0000 +++ b/src/gtkhtml.c Sun Oct 08 05:03:46 2000 +0000 @@ -4445,7 +4445,8 @@ hbit = (GtkHtmlBit *)hbits->data; if (hbit->font) height = gdk_text_height(hbit->font, "C", 1); - + else if(hbit->type == HTML_BIT_PIXMAP) + height = 19; if (max_height < height) max_height = height; if (hbit->newline) @@ -4475,7 +4476,12 @@ hbit = (GtkHtmlBit *)hbits->data; if (hbit->font) gdk_text_extents(hbit->font, "yG", strlen("yG"), NULL, NULL, NULL, &acsent, &descent); - + else if (hbit->type == HTML_BIT_PIXMAP) + { + acsent =9; + descent = 8; + } + if (*max_acsent < acsent) *max_acsent = acsent; if (*max_descent < descent)