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

             Bug #: 52412
           Summary: does not respect hyphenation="false" with
                    fo:basic-link
           Product: Fop
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: mathieu.malate...@gmail.com
    Classification: Unclassified


Created attachment 28114
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28114
input fo

I have fop set up with the appropriate facilites for English
hyphenation.  In the document I'm working on, there is a link to a
website.  When the DocBook XSL-NS stylesheets generate a link in XSL-FO,
it includes the URL in brackets.  In the FO, they look like:

  <fo:basic-link
external-destination="url(http://creativecommons.org/licenses/GPL/2.0/)">
    <fo:inline>the GNU General Public License as published by the Free Software
Foundation: version 2 of the License, dated June 1991</fo:inline>
  </fo:basic-link>
  <fo:inline hyphenate="false"> [<fo:basic-link
external-destination="url(http://creativecommons.org/licenses/GPL/2.0/)">http://creativecommons.org/licenses/GPL/2.0/</fo:basic-link>]</fo:inline>

The latter case, where the URL is in brackets, should not be hyphenated,
because hyphenate="false" on the enclosing fo:inline, and hyphenate is
inherited.  However, fop hyphenates the link anyway.  The offending text
is present on page 2 of the document, in the first paragraph under
"License".

Attached are the XSL-FO and the PDF of the document; the former is
bzip2'd, while the latter is not.  Also attached is the FOP
configuration file that is used when building from ant.

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

Reply via email to