Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
4.7.3
-
None
-
0aa9b30432cec3b7f366983f451fc9a7f8f83243
Description
Currently drawStaticText() will cache glyphs of any size. Since this does not scale at some point, and since it's not always convenient for the developer to predict or limit the sizes of the QStaticTexts, we should include a fallback to path drawing of the text. The threshold should be high enough so that QStaticText supports the relevant font sizes, but low enough that the size of the cache texture does not grow too big.