You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2011/09/29 14:52:52 UTC

DO NOT REPLY [Bug 51915] New: Line breaking in FOP is different from other tools, for example TLF.

https://issues.apache.org/bugzilla/show_bug.cgi?id=51915

             Bug #: 51915
           Summary: Line breaking in FOP is different from other tools,
                    for example TLF.
           Product: Fop
           Version: 1.0
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: alexey.hlyavich@duallab.com
    Classification: Unclassified


Created attachment 27632
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27632
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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 51915] Line breaking in FOP is different from other tools, for example TLF.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51915

Glenn Adams <ga...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #2 from Glenn Adams <ga...@apache.org> ---
batch transition resolved+later to closed+later; if you have new information or
a patch that addresses the issue, you may reopen

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 51915] Line breaking in FOP is different from other tools, for example TLF.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51915

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER

--- Comment #1 from Glenn Adams <gl...@skynav.com> 2012-04-04 22:26:44 UTC ---
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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.