mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-02-11 17:20:37 +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();
|
PDFExecutionPolicy::startProcessingContentStream();
|
||||||
|
|
||||||
QPainterPath pageRectPath;
|
QPainterPath pageRectPath;
|
||||||
pageRectPath.addRect(m_page->getRotatedMediaBox());
|
pageRectPath.addRect(m_page->getMediaBox());
|
||||||
m_pageBoundingRectDeviceSpace = pagePointToDevicePointMatrix.map(pageRectPath).boundingRect();
|
m_pageBoundingRectDeviceSpace = pagePointToDevicePointMatrix.map(pageRectPath).boundingRect();
|
||||||
|
|
||||||
initDictionaries(m_page->getResources());
|
initDictionaries(m_page->getResources());
|
||||||
@ -2659,7 +2659,7 @@ void PDFPageContentProcessor::operatorShadingPaintShape(PDFPageContentProcessor:
|
|||||||
{
|
{
|
||||||
if (isContentKindSuppressed(ContentKind::Shading))
|
if (isContentKindSuppressed(ContentKind::Shading))
|
||||||
{
|
{
|
||||||
// Images are suppressed
|
// Shadings are suppressed
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user