From kde-bugs-dist Sun Apr 19 09:48:00 1998 From: Alex Kireyev Date: Sun, 19 Apr 1998 09:48:00 +0000 To: kde-bugs-dist Subject: Bug#1226: koi8-r encoding selects wrong font X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=92451628713783 package: kdelibs version: 1.1-3rh5x When I select koi8-r encoding in font dialog (e.g. in kterm) for a font that has different encodings it reports unknown encoding and doesn't use koi8-r. After I made modification described below in kdelibs-1.1/kdecore/kchartables.cpp everything seems to be in order. $ diff -p kchartables.cpp.orig kchartables.cpp *** kchartables.cpp.orig Sun Nov 22 16:42:49 1998 --- kchartables.cpp Mon Apr 5 19:48:10 1999 *************** KCharsetEntry KCharsetsData::charsets[]= *** 432,438 **** { "iso-8859-8",QFont::ISO_8859_8,iso_8859_8_tbl,TRUE,0,0}, { "iso-8859-9",QFont::ISO_8859_9,iso_8859_9_tbl,TRUE,0,0}, { "adobe-symbol",QFont::AnyCharSet,symbol_tbl,FALSE,0,0}, - { "koi8-r",QFont::AnyCharSet,koi8_r_tbl,TRUE,0,0}, #if QT_VERSION >= 140 { "koi8-r",QFont::KOI8R,koi8_r_tbl,TRUE,0,0}, #else --- 432,437 ---- I suggest checking if this modification can cause any problems and adding it to next release. I am using RedHat 5.2, kernel 2.2.1, glibc-2.0.7-29 KDE compiled from source rpms with egcs-1.1b-2, egcs-libstdc++-1.1b-1 and qt-1.42-3rh51