svx/source/svdraw/svdpdf.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 972f9d090648a358838a72fcf6964cd3b82dcb99
Author: Caolán McNamara <[email protected]>
AuthorDate: Fri Aug 15 22:03:12 2025 +0100
Commit: Miklos Vajna <[email protected]>
CommitDate: Wed Sep 17 14:05:20 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]>
diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx
index 6a00bd286ce1..3c0c4432047f 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();