[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Re: Bug#35119: Font size depends on X server DPI value
From:       Linus Torvalds <torvalds () transmeta ! com>
Date:       2001-11-24 4:30:26
[Download RAW message or body]


On Fri, 23 Nov 2001, David Faure wrote:
>
> Hi Linus,
> glad to see you're using KDE/KOffice from CVS ;-)

Hey, I've been on the CVS tree for the last year or so now - I stayed on
the 2.2.x branch for a while to see it stabilize, but it's gotten boring
lately so I went back to the head last week..

> I have fixed this bug - indeed, the DPI setting (point->pixel conversion) was
> applied twice, once in koffice and once in Qt. Whoops. Thanks for that report,
> it put me on the right track for fixing the font size problem.

Updated, and am compiling now to verify that all my problems are gone, but
it sounds promising.

Btw, one more small buglet - I'm using the compiler that comes with
SuSE-7.3 (gcc-2.95.3-20010315), along with qt-copy and the full KDE
libs/base from CVS, and I actually couldn't compile a clean KOffice CVS
tree: it complains about KDialogBase() being ambiguously called in
multiple places (for example, kword/kwconfig.cc, KWConfig::KWConfig).

My "fix" has actually been to pass in the parent as the argument, which
seems to be enough to resolve the ambiguity, but obviously others do not
seem to have this problem at all.

That sounds like you (and other KOffice people) are either not using the
KDE CVS head (ie KDE-3), or you're using another compiler and this is a
g++ compiler misfeature.

Since KOffice now seems to require qt-3, I assume you're on the general
KDE CVS head too, AND since gcc-3.0.x is still to broken to compile
KOffice, I assume you have basically the same compiler I use. So I'm a bit
surprised that I have this problem, and I wonder why..

> > The same problem exists with KPresenter and probably other
> > KOffice tools.
>
> KPresenter and KWord now share the same text formatting engine ("kotext").
> so they are both fixed by the kotext commit.
> The rest of KOffice is unaffected.

I didn't even try the rest - KWord and KPresenter are the only ones I've
ever used, and that I ever worry about. So I was just unlucky.

Thanks,

		Linus

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic