doc: Remove bogus step in font resolution algorithm
This is a left-over from when setFamilies() and setFamily() were setting two different properties, for compatibility reasons. There is no longer a special step for the singular family, and the sentence is also a bit obfuscated, so we just remove it. Change-Id: Ia3c244d41f550a5062de8de63053770258dcacba Reviewed-by: Andy Shaw <andy.shaw@qt.io> (cherry picked from commit 0ed324314bf151894be9bdd8272adbbc63c2b0ee) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
56598b65fa
commit
119a23d2cf
@ -471,8 +471,6 @@ QFontEngineData::~QFontEngineData()
|
|||||||
The font matching algorithm works as follows:
|
The font matching algorithm works as follows:
|
||||||
\list 1
|
\list 1
|
||||||
\li The specified font families (set by setFamilies()) are searched for.
|
\li The specified font families (set by setFamilies()) are searched for.
|
||||||
\li If not found, then if set the specified font family exists and can be used to represent
|
|
||||||
the writing system in use, it will be selected.
|
|
||||||
\li If not, a replacement font that supports the writing system is
|
\li If not, a replacement font that supports the writing system is
|
||||||
selected. The font matching algorithm will try to find the
|
selected. The font matching algorithm will try to find the
|
||||||
best match for all the properties set in the QFont. How this is
|
best match for all the properties set in the QFont. How this is
|
||||||
|
Loading…
x
Reference in New Issue
Block a user