--- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -2517,9 +2517,10 @@ { Size aRet( IsNoteOrHandout( m_nCurrentPageNum ) ? aDocAtom.GetNotesPageSize() : aDocAtom.GetSlidesPageSize() ); Scale( aRet ); - // PPT works with units of 576 dpi in any case. To avoid inaccuracies - // I do round the last decimal digit away. - if ( nMapMul > 2 * nMapDiv ) + // Preserve the finer model-unit page dimensions for on-device PDF export. + // The historic additional 0.1 mm snap changes a 405 pt source to 405.070866 pt. + // Native non-WASM builds keep their previous import policy. + if ( !getenv("TABMORPH_PRECISE_PPT_PAGE_SIZE") && nMapMul > 2 * nMapDiv ) { MapUnit eMap = pSdrModel->GetScaleUnit(); bool bInch = IsInch( eMap );