mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-01-16 10:32:29 +01:00
Bugfix: Clear operand stack, when we are drawing forms
This commit is contained in:
parent
23a36f14a4
commit
d6d112667d
@ -2066,6 +2066,9 @@ void PDFPageContentProcessor::paintXObjectImage(const PDFStream* stream)
|
||||
|
||||
void PDFPageContentProcessor::operatorPaintXObject(PDFPageContentProcessor::PDFOperandName name)
|
||||
{
|
||||
// We want to have empty operands, when we are invoking forms
|
||||
m_operands.clear();
|
||||
|
||||
if (m_xobjectDictionary)
|
||||
{
|
||||
// According to the specification, XObjects are skipped entirely, as no operator was invoked.
|
||||
|
@ -31,7 +31,6 @@ PDFRenderer::PDFRenderer(const PDFDocument* document, const PDFFontCache* fontCa
|
||||
Q_ASSERT(document);
|
||||
}
|
||||
|
||||
// TODO: Dodelat rotovani stranek
|
||||
// TODO: Clipovani na stranku
|
||||
|
||||
QList<PDFRenderError> PDFRenderer::render(QPainter* painter, const QRectF& rectangle, size_t pageIndex) const
|
||||
|
Loading…
Reference in New Issue
Block a user