Axial shading fix

This commit is contained in:
Jakub Melka 2020-07-09 11:04:43 +02:00
parent 87d4935489
commit 3bf14c0c93
1 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ PDFPageContentProcessor::PDFPageContentProcessor(const PDFPage* page,
PDFExecutionPolicy::startProcessingContentStream();
QPainterPath pageRectPath;
pageRectPath.addRect(m_page->getRotatedMediaBox());
pageRectPath.addRect(m_page->getMediaBox());
m_pageBoundingRectDeviceSpace = pagePointToDevicePointMatrix.map(pageRectPath).boundingRect();
initDictionaries(m_page->getResources());
@ -2659,7 +2659,7 @@ void PDFPageContentProcessor::operatorShadingPaintShape(PDFPageContentProcessor:
{
if (isContentKindSuppressed(ContentKind::Shading))
{
// Images are suppressed
// Shadings are suppressed
return;
}