[ https://issues.apache.org/jira/browse/FOP-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria updated FOP-3060: ----------------------- Description: 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. I can see that in Apache Fop source code if the font is in base 14 fonts it gets it's original metrics, but if it is not it uses metrics for serif (Times). Is this the only possible reason for such a differnce. The fo file used for this two test cases is attached. was: Hello, There are differences in line breaks in pdf between small and large paragraphs of same text. Case 1: For instance if the same text in the paragraph is cut to three lines long, line breaks are at one position but if the 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 text that is left nine lines. I can see that in Apache Fop source code if the font is in base 14 fonts it gets it's original metrics, but if it is not it uses metrics for serif (Times). Is this the only possible reason for such a differnce. The fo file used for this two test cases is attached. > 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. > I can see that in Apache Fop source code if the font is in base 14 fonts it > gets it's original metrics, but if it is not it uses metrics for serif > (Times). Is this the only possible reason for such a differnce. > The fo file used for this two test cases is attached. > -- This message was sent by Atlassian Jira (v8.20.1#820001)