[jira] [Commented] (FOP-3060) Line breaks differences
[ https://issues.apache.org/jira/browse/FOP-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17732007#comment-17732007 ] Dave Roxburgh commented on FOP-3060: Closed as no FO file has been provided and the description suggests its working as designed. > Line breaks differences > --- > > Key: FOP-3060 > URL: https://issues.apache.org/jira/browse/FOP-3060 > Project: FOP > Issue Type: Bug > Components: layout/unqualified >Affects Versions: 2.6 > Environment: OS: Windows , >Reporter: Maria >Priority: Major > Attachments: Test.fo > > > Hello, > There are differences in line breaks in pdf between small and large > paragraphs of same text. > Case 1: If the text in the paragraph is cut to three lines long, line breaks > are at one position but if the same text is left to ten or more lines, line > breaks for the same first three lines are not at the same position. > Case 2: Also if nine lines long text is cut to eight lines long text, there > is a difference in line breaks from line two onwards in comparison to the > original text. > The fo file used for this two test cases is attached. > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (FOP-3060) Line breaks differences
[ https://issues.apache.org/jira/browse/FOP-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17518247#comment-17518247 ] Chris Bowditch commented on FOP-3060: - I think the bug reporter is expecting line breaking to follow first fit approach like most word processors, but FOP uses a total fit algorithm, so yes the line breaking will be different when the text of the paragraph or its alignment is altered. That is not a bug but by design > Line breaks differences > --- > > Key: FOP-3060 > URL: https://issues.apache.org/jira/browse/FOP-3060 > Project: FOP > Issue Type: Bug > Components: layout/unqualified >Affects Versions: 2.6 > Environment: OS: Windows , >Reporter: Maria >Priority: Major > Attachments: Test.fo > > > Hello, > There are differences in line breaks in pdf between small and large > paragraphs of same text. > Case 1: If the text in the paragraph is cut to three lines long, line breaks > are at one position but if the same text is left to ten or more lines, line > breaks for the same first three lines are not at the same position. > Case 2: Also if nine lines long text is cut to eight lines long text, there > is a difference in line breaks from line two onwards in comparison to the > original text. > The fo file used for this two test cases is attached. > -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (FOP-3060) Line breaks differences
[ https://issues.apache.org/jira/browse/FOP-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17517477#comment-17517477 ] J Frank commented on FOP-3060: -- Please provide appropriate fo for both cases. I think this issue can be workaround using line height, but this is just a guess. > Line breaks differences > --- > > Key: FOP-3060 > URL: https://issues.apache.org/jira/browse/FOP-3060 > Project: FOP > Issue Type: Bug > Components: layout/unqualified >Affects Versions: 2.6 > Environment: OS: Windows , >Reporter: Maria >Priority: Major > Attachments: Test.fo > > > Hello, > There are differences in line breaks in pdf between small and large > paragraphs of same text. > Case 1: If the text in the paragraph is cut to three lines long, line breaks > are at one position but if the same text is left to ten or more lines, line > breaks for the same first three lines are not at the same position. > Case 2: Also if nine lines long text is cut to eight lines long text, there > is a difference in line breaks from line two onwards in comparison to the > original text. > The fo file used for this two test cases is attached. > -- This message was sent by Atlassian Jira (v8.20.1#820001)