Description of Problem: Custom font support borked in 2.2.1 branch. I backported the patch from kdebase/konsole/konsole/konsole.cpp v. 1.176. [alane@wwweasel alane]$ cat Projects/KDE/patches/kdebase/kdebase-2.2.1-konsole.C_1.176_custom_fonts.patch --- kdebase/konsole/src/konsole.C.custom_fonts Sat Sep 22 00:45:52 2001 +++ kdebase/konsole/src/konsole.C Mon Sep 24 05:26:19 2001 @@ -762,7 +762,8 @@ b_warnQuit=config->readBoolEntry( "WarnQuit", TRUE ); n_defaultKeytab=config->readNumEntry("keytab",0); // act. the keytab for this session b_fullscreen = config->readBoolEntry("Fullscreen",FALSE); - n_defaultFont = n_font = QMIN(config->readUnsignedNumEntry("font",3),TOPFONT); + // +1 because we have one more...a custom selected font + n_defaultFont = n_font = QMIN(config->readUnsignedNumEntry("font",3),TOPFONT+1); n_scroll = QMIN(config->readUnsignedNumEntry("scrollbar",TEWidget::SCRRIGHT),2); s_word_seps= config->readEntry("wordseps",":@-./_~"); b_framevis = config->readBoolEntry("has frame",TRUE); @@ -773,7 +774,8 @@ // (1) set menu items and Konsole members QFont tmpFont("fixed"); defaultFont = config->readFontEntry("defaultfont", &tmpFont); - setFont(QMIN(config->readUnsignedNumEntry("font",3),TOPFONT)); + // +1 because we have one more...a custom selected font + setFont(QMIN(config->readUnsignedNumEntry("font",3),TOPFONT+1)); //set the schema s_kconfigSchema=config->readEntry("schema", ""); @@ -1410,7 +1412,8 @@ connect( s, SIGNAL( updateTitle() ), this, SLOT( updateTitle() ) ); - s->setFontNo(QMIN(fno, TOPFONT)); + // +1 because we have one more...a custom selected font + s->setFontNo(QMIN(fno, TOPFONT+1)); s->setSchemaNo(schmno); if (key.isEmpty()) s->setKeymapNo(n_defaultKeytab); [alane@wwweasel alane]$
Created attachment 32500 [details] fix custom font support in konsole
Please verify this with a newer version of Red Hat Enterprise Linux or Fedora Core and reopen it against the new version if it still occurs. Closing as "CURRENTRELEASE" for now.