Fwd: [Konsole-devel] Bug#45250: Qt 3.0.6 Snapshot problem

Waldo Bastian bastian at kde.org
Wed Jul 17 23:59:23 UTC 2002


Ok, the problem is being caused by the following change in Qt:

--- qfont_x11.cpp       2002/07/12 21:52:49     1.61
+++ qfont_x11.cpp       2002/07/17 23:55:36
@@ -2275,12 +2275,12 @@ static QChar sampleCharacter(QFont::Scri
     case QFont::CanadianAboriginal:        row = 0x14; cell = 0x10; break;
     case QFont::Mongolian:                 row = 0x18; cell = 0x00; break;

-    case QFont::CurrencySymbols:           row = 0x20; cell = 0xaa; break;
-    case QFont::LetterlikeSymbols:         row = 0x21; cell = 0x22; break;
-    case QFont::NumberForms:               row = 0x21; cell = 0x5b; break;
+    case QFont::CurrencySymbols:           row = 0x20; cell = 0xa0; break;
+    case QFont::LetterlikeSymbols:         row = 0x21; cell = 0x00; break;
+    case QFont::NumberForms:               row = 0x21; cell = 0x60; break;
     case QFont::MathematicalOperators:     row = 0x22; cell = 0x2b; break;
     case QFont::TechnicalSymbols:          row = 0x24; cell = 0x40; break;
-    case QFont::GeometricSymbols:          row = 0x25; cell = 0xa1; break;
+    case QFont::GeometricSymbols:          row = 0x25; cell = 0x00; break;
     case QFont::MiscellaneousSymbols:      row = 0x26; cell = 0x00; break;
     case QFont::EnclosedAndSquare:         row = 0x24; cell = 0x60; break;
     case QFont::Braille:                   row = 0x28; cell = 0x00; break;

Cheers,
Waldo

On Wednesday 17 July 2002 11:57 am, Waldo Bastian wrote:
> Hi Lars,
>
> Sorry for bothering you so much. Do you know what has changed in font
> handling between Qt 3.0.4 and Qt 3.0.6? The problem happens when you run
> "mc" in konsole and select the "Linux" font. We set this font with:
>
> setRawName("misc-console-medium-r-normal--16-160-72-72-c-160-iso10646-1")
>
> In the days of Qt 2 we mapped VT100 graphic characters ourselves to
> 0x00..0x1f (See e.g. kdebase/konsole/konsole/TEWidget.cpp:153 and beyond)
> do we need to do that again in 3.0.6?
>
> Cheers,
> Waldo
>
> ----------  Forwarded Message  ----------
>
> Subject: [Konsole-devel] Bug#45250: Qt 3.0.6 Snapshot problem
> Date: Wednesday 17 July 2002 09:57 am
> From: Matthias Posseldt <matthi at gmx.li>
> To: 45250 at bugs.kde.org, 44993 at bugs.kde.org
>
> Hello,
> the bug seems to be related to QT. Version 3.0.6 snapshot from qt-copy has
> the problem while "old" 3.0.4 qt-copy is ok here.
> Also bugs #45250 and #44993 are connected, I think.
> Ciao, Matthias
>
> (Complete bug history is available at http://bugs.kde.org/db/45/45250.html)
> _______________________________________________
> konsole-devel mailing list
> konsole-devel at mail.kde.org
> http://mail.kde.org/mailman/listinfo/konsole-devel
>
> -------------------------------------------------------

-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com




More information about the konsole-devel mailing list