[ 
https://issues.apache.org/jira/browse/FOP-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Craig updated FOP-2358:
----------------------------

    Attachment: render-shy.pdf
                render-shy.fo

Simple example attached (render-shy.fo) with PDF produced using FOP 1.1 
(render-shy.pdf).

I replaced the soft hyphen characters in the source of the example with an 
entity to make the source of the example easier to read. (But it works the same 
way if you use the example directly from Wikipedia.)

> 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
(v6.2#6252)

Reply via email to