svx/source/svdraw/svdpdf.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 643930454b02386fef7207614e9573417995dabf
Author: Caolán McNamara <[email protected]>
AuthorDate: Fri Aug 15 22:03:12 2025 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Thu Oct 2 15:44:17 2025 +0200
use same reference device DPI that draw/impress uses
Change-Id: I738b5cc3527eceb1536ba5c2eca7a6240976f684
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190982
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Miklos Vajna <[email protected]>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191770
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx
index 3873e5fe5274..a509c9fad5cb 100644
--- a/svx/source/svdraw/svdpdf.cxx
+++ b/svx/source/svdraw/svdpdf.cxx
@@ -97,6 +97,8 @@ ImpSdrPdfImport::ImpSdrPdfImport(SdrModel& rModel, SdrLayerID
nLay, const tools:
, mdPageHeightPts(0)
, mpPDFium(vcl::pdf::PDFiumLibrary::get())
{
+ // Same as SdModule
+ mpVD->SetReferenceDevice(VirtualDevice::RefDevMode::Dpi600);
mpVD->EnableOutput(false);
mpVD->SetLineColor();
mpVD->SetFillColor();