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 "Peter Eisentraut (JIRA)" <ji...@apache.org> on 2016/12/02 15:37:59 UTC

[jira] [Commented] (FOP-2516) unexpected hyphenation character added while hyphenate="false" is set

    [ https://issues.apache.org/jira/browse/FOP-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15715426#comment-15715426 ] 

Peter Eisentraut commented on FOP-2516:
---------------------------------------

FOP does not support hyphenation on inline elements.

See here for some discussion:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586469#28
http://apache-fop.1065347.n5.nabble.com/lt-fo-inline-hyphenate-quot-false-quot-gt-problem-td3806.html

> unexpected hyphenation character added while hyphenate="false" is set
> ---------------------------------------------------------------------
>
>                 Key: FOP-2516
>                 URL: https://issues.apache.org/jira/browse/FOP-2516
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Björn Kautler
>
> The following snippet (numbers are just for numbering lines as JIRA breaks lines)
> {code:xml}
> 1. <fo:block space-before.optimum="0.6em" space-before.minimum="0.4em" space-before.maximum="0.8em">
> 2.   <fo:inline hyphenate="false" font-family="monospace">GET http://alfrescohost:8080/alfresco/cmisatom/b10caffd-1aa3-44f8-a269-11e4a7095274/path?path=%2Ftest&amp;filter=&amp;includeAllowableActions=true&amp;includeACL=false&amp;includePolicyIds=false&amp;includeRelationships=none&amp;renditionFilter=cmis%3Anone</fo:inline>
> 3. </fo:block>
> {code}
> results in (numbers are just for numbering lines as JIRA breaks lines)
> {noformat}
> 1. GET http://alfrescohost:8080/alfresco/cmisatom/b10caffd-1aa3-44f8-
> 2. a269-11e4a7095274/path?path=
> 3. %2Ftest&filter=&includeAllowableActions=true&includeACL=false&include-
> 4. PolicyIds=false&includeRelationships=none&renditionFilter=cmis%3Anone
> {noformat}
> So there is a hyphenation character inserted while hyphenate is switched off.
> I consider it ok that the line is split, as it is just too long to fit without breaks and would overflow the border, but there should not be any hyphenation characters inserted like in the end of line 3.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)