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

Mark Craig commented on FOP-2358:
---------------------------------

[~jgoncalves] when I download the [Wikipedia page about the soft 
hyphen|https://en.wikipedia.org/wiki/Soft_hyphen] as a PDF (Tools > Download as 
PDF) and open the PDF, I can copy the long example towards the top of the page. 
It doesn't include the spaces after the soft hyphens when I paste it into a 
text editor.

Here's the text as it is today:
{quote}MargaretAreYouGrievingOverGoldengroveUnleavingLeaves‐ 
LikeTheThingsOfManYouWithYourFreshThoughtsCareForCan‐ 
YouAhAsTheHeartGrowsOlderItWillComeToSuchSightsColder‐ 
ByAndByNorSpareASighThoughWorldsOfWanwoodLeafmeal‐ 
LieAndYetYouWillWeepAndKnowWhyNowNoMatterChildThe‐ 
NameSorrowsSpringsAreTheSameNorMouthHadNoNorMind‐ 
ExpressedWhatHeartHeardOfGhostGuessedItIsTheBlightMan‐ 
WasBornForItIsMargaretYouMournFor
{quote}

> 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)

Reply via email to