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

List:       koffice-devel
Subject:    qfont buglet
From:       Thomas Zander <zander () planescape ! com>
Date:       2001-11-22 14:20:01
[Download RAW message or body]

Hi, just to let you guys know;

in QT3 there is a tiny bug in the QFont class, I don't know if we use it
but here it is;
after setting the pointSize as a float the returned pointSize (as int) is not 
rounded correctly, so you can see off by one errors.
For instance;

    qfont.setPointSizeFloat(13.689);
    qdebug(qfont.pointSize());

Returns 13

Fixed in cvs (qt-copy), patch also OKed by TT.

-- 
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