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

List:       koffice-devel
Subject:    Re: [PATCH] pointSize==-1 (KoGlobal)
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2001-12-20 1:02:29
[Download RAW message or body]

H'm, sorry, you are right!

I do not know why I want to make a patch for something that works now! (The 
QT is right up-to-date, but my idea was outdated.)

By the way, the patch as posted is wrong (I calculate a pixel size from the 
pixel size!)

Have a nice day/evening/night!

On Thursday 20 December 2001 00:30, Thomas Zander wrote:
> On Wed, Dec 19, 2001 at 11:50:23PM +0100, Nicolas Goutte wrote:
> > The attached patch is for the file lib/kofficeui/koGlobal.cc.
> >
> > The patch calculate correctly the point size, even if the default font
> > was set as pixel size. (QFontInfo does not do any converting.)
> >
> > Doing it here in koGlobal.cc has the advantage to be centralized. This
> > solves also the problem that I had described with the constructor of
> > KWDocument on the 2001-12-08.
> >
> > Have a nice day/evening/night!
>
> Well; this contains X11 specific stuff; so I am not sure we should do that
> in KWord. (or KDE for that matter).
>
> Could you tell me when a font is returning -1 for its size; I have sent a
> little program to the list a couple of days ago which shows the font sizes
> for all fonts in pixels _and_ points. I am not aware of any problems you
> describe...
>
> ps. please check if you have an up-to-date QT as much has been fixed in the
> 3.0.1 release.
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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