You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/02/14 18:30:39 UTC

[Bug 54561] New: [PATCH] Line spacing issue with Slide.draw() function

https://issues.apache.org/bugzilla/show_bug.cgi?id=54561

            Bug ID: 54561
           Summary: [PATCH] Line spacing issue with Slide.draw() function
           Product: POI
           Version: 3.9
          Hardware: Macintosh
                OS: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
          Assignee: dev@poi.apache.org
          Reporter: djboulia@gmail.com
    Classification: Unclassified

Created attachment 29953
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29953&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 54561] [PATCH] Line spacing issue with Slide.draw() function

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54561

--- Comment #1 from Don Boulia <dj...@gmail.com> ---
Created attachment 29954
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29954&action=edit
Proposed patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org