mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Text knockout implementation
This commit is contained in:
@ -2596,12 +2596,13 @@ void PDFPageContentProcessor::operatorTextBegin()
|
||||
updateGraphicState();
|
||||
|
||||
++m_textBeginEndState;
|
||||
performTextBegin(ProcessOrder::AfterOperation);
|
||||
|
||||
if (m_textBeginEndState > 1)
|
||||
{
|
||||
throw PDFRendererException(RenderErrorType::Error, PDFTranslationContext::tr("Text object already started."));
|
||||
}
|
||||
|
||||
performTextBegin(ProcessOrder::AfterOperation);
|
||||
}
|
||||
|
||||
void PDFPageContentProcessor::operatorTextEnd()
|
||||
|
Reference in New Issue
Block a user