Bug 61633

Summary: Zero width shapes aren't rendered
Product: POI Reporter: briskaa
Component: XSLFAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: 3.15-FINAL   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Comparison of preview vs. opening in PPT
Generated pptx document

Description briskaa 2017-10-18 16:52:27 UTC
Created attachment 35435 [details]
Comparison of preview vs. opening in PPT

I have an application that exports a powerpoint representation of the view.  When the exported file is shown in the Mac preview, it is rendered incompletely. (see attached image)

I'll also attach the generated file.
Comment 1 briskaa 2017-10-18 16:52:49 UTC
Created attachment 35436 [details]
Generated pptx document
Comment 2 Andreas Beeker 2018-05-19 21:13:03 UTC
Originally it was a Div/0 error, because of a 0 width, which resulted in a path containing a NaN value. I've refactored the path conversion and applied the EMU->points conversion via the AffineTransformation.

Applied via r1831923