Bugfix: Draw form fields

This commit is contained in:
Jakub Melka
2024-06-27 18:31:45 +02:00
parent 8166d9f8f4
commit a4feda2d06
9 changed files with 18 additions and 7 deletions

View File

@ -958,7 +958,8 @@ QImage PDFDrawWidgetProxy::drawThumbnailImage(PDFInteger pageIndex, int pixelSiz
if (compiledPage && compiledPage->isValid())
{
// Rasterize the image.
image = m_rasterizer->render(pageIndex, page, compiledPage, imageSize, m_features, m_widget->getAnnotationManager(), PageRotation::None);
PDFCMSPointer cms = getCMSManager()->getCurrentCMS();
image = m_rasterizer->render(pageIndex, page, compiledPage, imageSize, m_features, m_widget->getAnnotationManager(), cms.data(), PageRotation::None);
}
if (image.isNull())