[
https://issues.apache.org/jira/browse/FOP-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428217#comment-17428217
]
J Frank edited comment on FOP-1798 at 11/16/21, 1:57 PM:
---------------------------------------------------------
This can be closed as its not a bug, but other scenario is reported by Andreas
can be treated as new bug.
Empty inlines are in fact supposed to generate an area (= content/allocation
rectangle), regardless of whether an id or marker is present
Below block doesnt not generate blank line
<fo:block>
<fo:inline></fo:inline>
</fo:block>
Block with id generates blank line as expected
<fo:block>
<fo:inline id =Test></fo:inline>
</fo:block>
was (Author: [email protected]):
This can be closed as its not a bug, but other scenario is reported by Andreas
can be treated as new bug.
Empty inlines are in fact supposed to generate an area (= content/allocation
rectangle), regardless of whether an id or marker is present
Below block doesnt not generate blank line
<fo:block>
<fo:inline> </fo:inline>
</fo:block>
Block with id generates blank line as expected
<fo:block>
<fo:inline id =Test> </fo:inline>
</fo:block>
> [PATCH] Empty fo:inline objects with id attribute generate blank line
> ---------------------------------------------------------------------
>
> Key: FOP-1798
> URL: https://issues.apache.org/jira/browse/FOP-1798
> Project: FOP
> Issue Type: Bug
> Components: unqualified
> Affects Versions: 0.95
> Environment: Operating System: All
> Platform: PC
> Reporter: Dwayne B.
> Attachments: h13-623-Exam-Dumps-2019.pdf, inline-test-cases.zip,
> patch.diff
>
>
> As per the summary, fo:inline objects with no content and an id attribute
> (e.g. <fo:inline id="foo" />) will render a blank space; this should not
> occur. Please see the example test cases and the PDFs generated by Apache FOP
> 0.95 that are in the attached zip file.
> I am fairly certain this is related to the resolution of this bug:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=42748 and this revision:
> http://svn.apache.org/viewvc?view=revision&revision=591437
> Thanks.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)