Fix typos in QFont documentation.

Change-Id: I0e8de5b47ec7b64719f875eecc46cc8ef009642b
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
Mitch Curtis 2014-03-26 12:31:45 +01:00 committed by The Qt Project
parent 2654fdb346
commit 992ed38e4e

View File

@ -1106,7 +1106,7 @@ int QFont::weight() const
Qt uses a weighting scale from 0 to 99 similar to, but not the Qt uses a weighting scale from 0 to 99 similar to, but not the
same as, the scales used in Windows or CSS. A weight of 0 is same as, the scales used in Windows or CSS. A weight of 0 is
ultralight, whilst 99 will be an extremely black. ultralight, whilst 99 will be extremely black.
This enum contains the predefined font weights: This enum contains the predefined font weights:
@ -1282,7 +1282,7 @@ bool QFont::kerning() const
When kerning is enabled, glyph metrics do not add up anymore, When kerning is enabled, glyph metrics do not add up anymore,
even for Latin text. In other words, the assumption that even for Latin text. In other words, the assumption that
width('a') + width('b') is equal to width("ab") is not width('a') + width('b') is equal to width("ab") is not
neccesairly true. necessarily true.
\sa kerning(), QFontMetrics \sa kerning(), QFontMetrics
*/ */