Custom header font



I set different fonts for displaying the suject header and the body of
a message:

Header: -bitstream-courier-medium-r-normal-*-15-*-*-*-m-*-iso8859-9

Body:   -b&h-lucidatypewriter-medium-r-normal-*-14-*-*-*-m-*-iso10646-1

Then all other headers then the subject were displayed as giberish.
Since I don't understand why only the suject should have its own
font, I fixed that by:

--- old/balsa-message.c Thu Oct 18 13:00:56 2001
+++ src/balsa-message.c Sun Oct 21 18:11:38 2001
@@ -611,9 +611,9 @@
      if (!(bm->shown_headers == HEADERS_ALL || libbalsa_find_word(header, 
balsa_app.selected_headers)))   return;
  -    if (strcmp(header, "subject") != 0)
-       fnt = gdk_font_load(balsa_app.message_font);
-    else
+//    if (strcmp(header, "subject") != 0)
+//     fnt = gdk_font_load(balsa_app.message_font);
+//    else
         fnt = gdk_font_load(balsa_app.subject_font);
       gtk_text_insert(GTK_TEXT(bm->header_text), fnt, NULL, NULL, label, 
-1);


Comments? Thanks. WIllem Riede.



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