sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 744b0b4634171841df24ec7a8094f95e12058048 Author: Dr. David Alan Gilbert <d...@treblig.org> AuthorDate: Fri Jul 4 15:51:23 2025 +0100 Commit: David Gilbert <d...@treblig.org> CommitDate: Wed Jul 9 23:04:01 2025 +0200 sdext,pdfimport: Fix stroke opacity export updateStrokeColor was reading the Fill opacity not the stroke opacity. Fixes opacity of the top right box in: https://gitlab.freedesktop.org/poppler/poppler/-/issues/178 Change-Id: Ie35d99a085df41b902185510b7801d58c409c532 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187410 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesk...@treblig.org> diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index f4b03f067827..a6205d0c6296 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -835,7 +835,7 @@ void PDFOutDev::updateStrokeColor(GfxState *state) normalize(colToDbl(aRGB.r)), normalize(colToDbl(aRGB.g)), normalize(colToDbl(aRGB.b)), - normalize(state->getFillOpacity()) ); + normalize(state->getStrokeOpacity()) ); } void PDFOutDev::updateFillOpacity(GfxState *state)