[
https://issues.apache.org/jira/browse/FOP-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18061724#comment-18061724
]
Joao Goncalves commented on FOP-3295:
-------------------------------------
Looks to be caused by padding-bottom="-1mm". It's not an issue if the padding
is on the image only, but if it's on <fo:block id="w1aab1a"> the issue is then
visible.
> Text below a floating image gets too small spacing to the line above
> --------------------------------------------------------------------
>
> Key: FOP-3295
> URL: https://issues.apache.org/jira/browse/FOP-3295
> Project: FOP
> Issue Type: Bug
> Affects Versions: 2.11
> Reporter: Daniel Norberg
> Priority: Major
> Attachments: image-2026-02-11-16-39-43-124.png, image.png, test.fo,
> test.pdf
>
>
> This is about the case where you have a floating image to the right and text
> is flowing to the left of the image. If a text in a <fo:block> starts flowing
> to the left of the image but is so long that it ends below the image, then
> the first line that is printed below the image has a too small spacing to the
> line above. Here is a screenshot showing this:
> !image-2026-02-11-16-39-43-124.png!
> Since the text is in the same <fo:block> the spacing between all lines in
> this paragraph shall be the same, dictated by the line-height.
> I attach a small FO and an image that can be used to reproduce the issue. I
> also attach a PDF produced with these files using FOP 2.11
--
This message was sent by Atlassian Jira
(v8.20.10#820010)