[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: [PATCH] pointSize==-1 (KoGlobal)
From: Thomas Zander <zander () planescape ! com>
Date: 2001-12-19 23:30:00
[Download RAW message or body]
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.
--
Thomas Zander zander@earthling.net
The only thing worse than failure is the fear of trying something new
[Attachment #3 (application/pgp-signature)]
_______________________________________________
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