fonts and kdevelop-2
F@lk Brettschneider
gigafalk at yahoo.com
Thu Dec 6 10:25:05 UTC 2001
Ralf Nolden wrote:
>
> On Tuesday 04 December 2001 22:08, you wrote:
>
> No clue. Maybe move your kdeveloprc and try if it works when running from
> scratch ?
>
> Ralf
> > Hi,
> > I'm really in a bad mood (Mir geht's tierisch auf's Schwein), when I see
> > that the fonts are out of order in KDevelop-2. But I don't have a clue
> > what's going on.
> > Can someone give me a hint how to fix it and why it was working in the
> > past?
> >
I debugged into KDevelop and have seen the problem is here.
The reason is the patch of Nikita Youshchenko concerning the non-latin
languages. It introduces the bug that fonts aint working any more.
If I comment that setCharSet(..) lines out, it works well as before.
Nikita added in kwrite/highlight.cpp:
-------8<---------8<------------
void HlManager::makeAttribs(Highlight *highlight, Attribute *a, int n) {
{
...
...
#if QT_VERSION < 300
font.setCharSet(charsets->charsetForEncoding(defaultFont.charset));
...
#if QT_VERSION < 300
font.setCharSet(charsets->charsetForEncoding(itemData->charset));
}
---------8<----------8<----------
Can any of the non-latin people give a hint how to fix that?
Anyway, I disable Nikita's patch again until there is a fix around.
So version 2.1 won't work for the non-latin languages again.
Ciao,F at lk
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the KDevelop-devel
mailing list