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:
parent
2654fdb346
commit
992ed38e4e
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user