xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51639] Height of <inline> element is not correctly computed if the text contains white space only
Date Wed, 28 Sep 2011 10:08:53 GMT

--- Comment #2 from Aleksey Hlyavich <alexey.hlyavich@duallab.com> 2011-09-28 10:08:53
UTC ---
Hi Vincent,

Thank you very much for explanation. I offer a solution of this problem:

Height of each line is computed in LineLayoutManager.makeLineBreakPosition(...)
by choosing the largest value from all
KnuthInlineBox.alignmentContent.lineHeight values belonging to current line. If
we add attribute alignmentContent to class KnuthGlue we'll have the possibility
to assign glue elements line height and then possibility to choose the largest
value of line height from both all KnuthInlineBox.alignmentContent.lineHeight
and all KnuthGlue.alignmentContent.lineHeight values belonging to current line.

Can you proove that it is the idea FOP needs? If it is I'll start
implementation of this.

Kind Regards,

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message