mirror of https://github.com/JakubMelka/PDF4QT.git
Issue #48: Page not displayed correctly
This commit is contained in:
parent
5107fbc39b
commit
66c6e23346
|
@ -61,8 +61,8 @@ QTransform PDFRenderer::createPagePointToDevicePointMatrix(const PDFPage* page,
|
|||
}
|
||||
|
||||
QTransform PDFRenderer::createMediaBoxToDevicePointMatrix(const QRectF& mediaBox,
|
||||
const QRectF& rectangle,
|
||||
PageRotation rotation)
|
||||
const QRectF& rectangle,
|
||||
PageRotation rotation)
|
||||
{
|
||||
QTransform matrix;
|
||||
switch (rotation)
|
||||
|
@ -105,6 +105,8 @@ QTransform PDFRenderer::createMediaBoxToDevicePointMatrix(const QRectF& mediaBox
|
|||
}
|
||||
}
|
||||
|
||||
matrix.translate(-mediaBox.left(), -mediaBox.top());
|
||||
|
||||
return matrix;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
CURRENT:
|
||||
- Issue #48: Page not displayed correctly
|
||||
- Issue #45: Blank page in DocPage Organizer
|
||||
- Issue #43: Save question
|
||||
- Issue #40: Sanitization of documents
|
||||
|
|
Loading…
Reference in New Issue