From 992ed38e4e0ffd9e0988f9454062c57a4930d3ab Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 26 Mar 2014 12:31:45 +0100 Subject: [PATCH] Fix typos in QFont documentation. Change-Id: I0e8de5b47ec7b64719f875eecc46cc8ef009642b Reviewed-by: Konstantin Ritt Reviewed-by: Jerome Pasion --- src/gui/text/qfont.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp index a8b3aabf19..e6bddeebf7 100644 --- a/src/gui/text/qfont.cpp +++ b/src/gui/text/qfont.cpp @@ -1106,7 +1106,7 @@ int QFont::weight() const 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 - ultralight, whilst 99 will be an extremely black. + ultralight, whilst 99 will be extremely black. 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, even for Latin text. In other words, the assumption that width('a') + width('b') is equal to width("ab") is not - neccesairly true. + necessarily true. \sa kerning(), QFontMetrics */