Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.0
-
None
-
-
243535036078fec14bc460ccf41708ff14878797
Description
Since the drawTextItem() fallback path will use path-rendering for glyphs above a certain size, it will fall back to an engine that supports transformations from an engine that does not, making the assumption in paintEngineSupportsTransformations to be wrong. This will become relevant for the raster engine as well when the drawStaticText() is updated to support a path fallback.
The paintEngineSupportsTransformations prediction logic is quickly becoming too complex. We need to move the logic into the paint engine subclasses instead so they can decide what the right thing is when they have all the necessary information.