Bug 92948

Summary: Open PDF with Draw changes size of pages (stretches from portrait to landscape)
Product: LibreOffice Reporter: Stéphane Guillou (stragu) <stephane.guillou>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: vsfoote, vvort
Priority: medium    
Version: 4.4.4.3 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=64990
Whiteboard: noRepro:Windows7sp1-64bit:5.1.0alpha1+ noRepro:Windows7sp1-64bit:5.0.0.3
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 99746    
Attachments: pdf sample

Description Stéphane Guillou (stragu) 2015-07-27 02:28:27 UTC
Created attachment 117459 [details]
pdf sample

When opening the attached PDF (scanned document from Ricoh office multi-function printer), Draw resizes each page from portrait to landscape (i.e. it takes a portrait page and stretches it to 29.7 cm width and 21 cm height.
Okular displays the document as expected.

Steps to reproduce:
- Open document with Draw

Results:
- Pages resized to a landscape format

Expected behaviour:
- Seeing the pages as portrait, not resized / stretched.
Comment 1 V Stuart Foote 2015-07-27 15:50:58 UTC
Confirming behavior on 4.4.4.3

Either opening into Draw default, or opening into Writer or Impress--the rasters on each page of the PDF import filter are being treated as landscape, and are "squished" into that aspect.

But, the filter appears to have been corrected for 5.0 release. Opening import into Draw, Writer or Impress raster images from PDF are in correct aspect.
Comment 2 Heiko Tietze 2016-05-09 15:17:59 UTC
Confirmed 

Version: 5.2.0.0.alpha0+
Build ID: 6b232aeecc55f1715bc111e636e36a8e24827efb
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-26_07:40:04
Locale: de-DE (de_DE)
Comment 3 vvort 2016-06-15 10:44:39 UTC
Looks like the duplicate of Bug 88049, which is fixed.
I do not see this problem with 5.2.0.0.alpha1+ (65b327b873e67ae24133b6e4afef5e8a12ed822e).