mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-02-06 04:13:39 +01:00
Axial shading fix
This commit is contained in:
parent
87d4935489
commit
3bf14c0c93
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user