Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2960

[PATCH] Soft-Hyphen on Hyphenated words.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Patch

    Description

      When hyphenate="true", a word containing a soft-hyphen ( ­\u00ad ) will break line at the position given by the higher level word hyphenation, ignoring the pre-hyphenation made by applying soft-hyphens.

       

      About the patch:

      Fixes the disabled test "block_shy_linebreaking_hyph.xml" wich is related to FOP-2466 by disabling the higher level hyphenation when a word contains a soft-hyphen.

      Note that at this part of the code, the original word has been already divided into 2 words by the soft-hyphen, to workaround this, we look at current and previous Glyphs.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cbowditch Chris Bowditch
            juani15151 Juan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment