diff src/gtkimhtml.c @ 6648:adf49a9bb9a0

[gaim-migrate @ 7173] dnsands@sandia.gov noticed that: "With AIM and custom font faces, the attributes (bold, italics) will not be rendered in the conversation window. This is because gtk's "font" attribute wants the Pango font name for its selection, which goes in the form of: Font_Name attribs size The attribs are the bold, italic, or bold italic modifiers. Without these there will be no bold or italics. Using the "family" attribute instead will allow the bold and italic modifiers to change the text style. With the "font" attribute, it seems these aspects of the style are specified there and immutable." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 29 Aug 2003 23:59:11 +0000
parents 338147ea6896
children 782907a6ae65
line wrap: on
line diff
--- a/src/gtkimhtml.c	Fri Aug 29 22:48:31 2003 +0000
+++ b/src/gtkimhtml.c	Fri Aug 29 23:59:11 2003 +0000
@@ -965,7 +965,7 @@
                                             gtk_text_buffer_apply_tag(imhtml->text_buffer, texttag, &siter, &iter); \
                                  } \
                                  if (fd->face) { \
-                                            texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "font", fd->face, NULL); \
+                                            texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "family", fd->face, NULL); \
                                             gtk_text_buffer_apply_tag(imhtml->text_buffer, texttag, &siter, &iter); \
                                  } \
                                  if (fd->size) { \