[ https://issues.apache.org/jira/browse/FOP-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638047#comment-13638047 ]
Seifeddine Dridi commented on FOP-2239: --------------------------------------- Well x002D is not the unicode value of the soft hyphen character...There is actually a file charlist.xml in "src/codegen/fonts" which contains a big list of unicode characters. After searching for the word "hyphen" I can only find this line <map adobe-name="hyphen" win-ansi="0x002D" unicode="0x002D"/> > Soft hyphens appear in mid line in PDF output > --------------------------------------------- > > Key: FOP-2239 > URL: https://issues.apache.org/jira/browse/FOP-2239 > Project: Fop > Issue Type: Bug > Components: pdf > Affects Versions: 1.1, trunk > Environment: $ java -version > java version "1.7.0_17" > Java(TM) SE Runtime Environment (build 1.7.0_17-b02) > Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) > Reporter: Mark Craig > Attachments: simple.fo, simple.pdf > > > When producing PDF, soft hyphens show up in mid line when followed by > punctuation characters such as ., ], and ". > In the test case that I will attach to this issue: > <fo:block><fo:inline font-size="0.9em">.­.­</fo:inline></fo:block> > <fo:block><fo:inline font-size="0.9em">.­ .­</fo:inline></fo:block> > <fo:block><fo:inline font-size="0.9em">.­</fo:inline></fo:block> > <fo:block><fo:inline font-size="0.9em">.­]</fo:inline></fo:block> > <fo:block><fo:inline font-size="0.9em">.­\</fo:inline></fo:block> > <fo:block><fo:inline font-size="0.9em">.­"</fo:inline></fo:block> > <fo:block><fo:inline font-size="0.9em">.­a</fo:inline></fo:block> > <fo:block><fo:inline font-size="0.9em">.­Z</fo:inline></fo:block> > looks like this in the PDF: > .-. > . . > . > .-] > .\ > .-" > .a > .Z > The generation does not display any errors: > $ fop simple.fo simple.pdf > Rendered page #1. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira