Bug 54561

Summary: [PATCH] Line spacing issue with Slide.draw() function
Product: POI Reporter: Don Boulia <djboulia>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal Keywords: PatchAvailable
Priority: P2    
Version: 3.9-FINAL   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X 10.4   
Attachments: sample ppt demonstrating the problem
Proposed patch

Description Don Boulia 2013-02-14 17:30:39 UTC
Created attachment 29953 [details]
sample ppt demonstrating the problem

The current TextPainter class handles linespacing attributes for absolute values (represented by a negative linespacing number) incorrectly.  It adds the value of linespacing to both the ascent and descent of the TextElement, which results in rendering twice as much space as it should when drawing slides.  Sample PPT demonstrates the problem if you try to render the slide.
Comment 1 Don Boulia 2013-02-14 17:31:56 UTC
Created attachment 29954 [details]
Proposed patch
Comment 2 Andreas Beeker 2015-11-29 00:58:31 UTC
PPTX2PNG renders this now ok ... nothing to change/apply anymore