# HG changeset patch # User Luke Schierer # Date 1062201551 0 # Node ID adf49a9bb9a072190eb73789fdaf8a37da77c1d0 # Parent ed89cd0c675eabf89a5f9a932f01392566f47b3c [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 diff -r ed89cd0c675e -r adf49a9bb9a0 src/gtkimhtml.c --- 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) { \