[jira] [Commented] (FOP-2358) Soft hyphen is not retained on copy/paste

"Joao Goncalves (Jira)" <[email protected]>
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/FOP-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032585#comment-18032585 ] 

Joao Goncalves commented on FOP-2358:
-------------------------------------

I downloaded the pdf from the wiki, and pasted the text on a notepad. I get the same behaviour as I get on a PDF generated by FOP. I can't see any extra spaces. I might be misunderstanding the issue here.

Have you tried setting the hyphenation to true and set the hyphenation-character to the soft hyphen? I recently added a change that allows the soft hyphen to be used for hyphenation.

> Soft hyphen is not retained on copy/paste
> -----------------------------------------
>
>                 Key: FOP-2358
>                 URL: https://issues.apache.org/jira/browse/FOP-2358
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: $ fop -v
> FOP Version 1.1
> $ java -version
> java version "1.7.0_51"
> Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
>            Reporter: Mark Craig
>            Priority: Minor
>         Attachments: render-shy.fo, render-shy.pdf
>
>
> Soft hyphen is rendered as hyphen + space.
> As a result, when the text that originally contained a soft hyphen is copied and pasted to an editor capable of ignoring soft hyphens or recalculating the hyphenation, the "hard" hyphen remains.
> This is particularly unhelpful in hyphenated literals such as URLs or OIDs, where adding a hyphen + space means that the copy is broken.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.