summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2014-03-26 12:31:45 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-27 17:51:21 +0100
commit992ed38e4e0ffd9e0988f9454062c57a4930d3ab (patch)
tree9eeeaa7d7e5f8b614b657683fe8d121426bed937
parent2654fdb346ef740ecc2591edc7af860c08455548 (diff)
Fix typos in QFont documentation.
Change-Id: I0e8de5b47ec7b64719f875eecc46cc8ef009642b Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
-rw-r--r--src/gui/text/qfont.cpp4
1 files 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
*/