[ 
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)

Reply via email to