Fix rounding error when creating QT_FT_Vector

This fixes a problem that QScanConverter::mergeLine didn't recognize
lins as being the same (when they where), causing aliasing effects

Task-number: QTBUG-36354
Change-Id: I29d92ddb4e867025541bdc6b294cfaca55c0d3e1
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
bb10
Jorgen Lind 2014-02-20 14:21:10 +01:00 committed by The Qt Project
parent 3aae3e81ef
commit ae4e44644a
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
QT_BEGIN_NAMESPACE
#define qreal_to_fixed_26_6(f) (int(f * 64))
#define qreal_to_fixed_26_6(f) (qRound(f * 64))