Bug 40634 - Horizontal space needed for a text block is always too large
Summary: Horizontal space needed for a text block is always too large
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: awt renderer (show other bugs)
Version: 0.92
Hardware: Other Windows XP
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 22:37 UTC by Ziggy
Modified: 2012-04-01 06:41 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ziggy 2006-09-28 22:37:25 UTC
Render any text using defaults in the awt and switch debug mode on. Unwanted
blank space is systematicaly found on the right side of the text block. This
causes problems when using inlines because unwanted space is found between the
end of the "uninlined" text and the start of the "inlined" text.

For example:
<block>Normal text having no problem but<inline> abnormal space is to be found
between "but" and "abnormal"</inline></block>

Another nagging manifestation of this bug is found in "end aligned" blocks. One
would expect to have the rightmost character of the "end aligned" block to be
just at the left of the rightmost limit of the block but again, an unwanted
space appears at the right of the block causing the text to end at the left of
where it should.

This problem is not present if rendering PDF but it is when rendering with -awt
-print or -tiff options.
Comment 1 Jeremias Maerki 2006-09-29 05:28:16 UTC
Would you please check if the problem persists in FOP Trunk (from Subversion)?
I've brought up the Java2D-based renderers up to the same quality since
0.92beta. Thanks.
Comment 2 Ziggy 2006-09-29 14:16:38 UTC
I confirm that the bug is not present in the latest trunk.
My wrong.
Comment 3 Glenn Adams 2012-04-01 06:41:07 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed