Created attachment 27632 [details] Patch to make FOP ignoring too loose or too tight lines. We use TLF to dispose the text in the region on web-page and then we want to convert it to pdf. But in pdf document and in web-page some words are placed in different lines. I understand, that TLF and FOP use different line breaking algorithm, but maybe FOP has possibility to use more simple algorithm not to "align" the text? I offer a simple code change to make FOP ignoring too loose or too tight lines. Patch is attached.
patch is insufficient as specified; the following would need to be added to consider landing this patch: (1) propose a property for controlling line fitting, such as http://www.w3.org/TR/css3-text/#line-break or an fox:line-break, fox:line-fitting, etc; (2) make use of said property to determine whether to use existing or new behavior; (2) provide unit test files that test each value of said property and consequent behavior; moving to resolved+later pending further input of a patch
batch transition resolved+later to closed+later; if you have new information or a patch that addresses the issue, you may reopen