Minor bugfixes

This commit is contained in:
Jakub Melka
2019-04-27 14:39:20 +02:00
parent 56a189d7af
commit 8b235acc75
2 changed files with 4 additions and 6 deletions

View File

@ -85,7 +85,7 @@ void PDFPainter::performUpdateGraphicsState(const PDFPageContentProcessorState&
// If current transformation matrix has changed, then update it
if (flags.testFlag(PDFPageContentProcessorState::StateCurrentTransformationMatrix))
{
m_painter->setWorldMatrix(m_pagePointToDevicePointMatrix * state.getCurrentTransformationMatrix(), false);
m_painter->setWorldMatrix(state.getCurrentTransformationMatrix() * m_pagePointToDevicePointMatrix, false);
}
if (flags.testFlag(PDFPageContentProcessorState::StateStrokeColor) ||