[Qt-qml] QML vs Photoshop point unit

Gregory Schlomoff gregory.schlomoff at gmail.com
Mon Jul 19 07:14:30 CEST 2010


Hi guys,

I just noticed that there is a difference between point sizes in
Photoshop and QML by a factor of 1.32.
For example, if I set a text to a pointSize of 50 in QML, I must set
the text to 50 * 1.32 = 66 points in Photoshop to get the same size.

While there is nothing wrong with that, I was wondering if there was
some explanation for this difference, as points theoretically are a
standardized unit (1pt = 1/72 of an inch)

(Please, note that I haven't measured the actual size of the items on
my screen, so I'm not telling that Photoshop's point size is the right
one and that the QML engine is innacurate. Just trying to understand
the reasons that account for the difference)

Warm regards

Greg



More information about the Qt-qml mailing list