Fix regression in perspective-transformed text
Change 8927084d0a
made a mistake in
reversing the boolean logic of the type >= TxProject logic,
causing us to try to use the font engine for perspective
transformations instead of falling back to QPainterPath.
Change-Id: Ideb59751ace23ab83f8ebd4f02dbe6c1724644a5
Reviewed-by: aavit <eirik.aavitsland@digia.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
This commit is contained in:
parent
8927084d0a
commit
527a87eda8
@ -270,7 +270,7 @@ QFixed QFontEngine::averageCharWidth() const
|
||||
|
||||
bool QFontEngine::supportsTransformation(const QTransform &transform) const
|
||||
{
|
||||
return transform.type() <= QTransform::TxProject;
|
||||
return transform.type() < QTransform::TxProject;
|
||||
}
|
||||
|
||||
void QFontEngine::getGlyphPositions(const QGlyphLayout &glyphs, const QTransform &matrix, QTextItem::RenderFlags flags,
|
||||
|
Loading…
Reference in New Issue
Block a user