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

[PATCH] Hyphenation of Uppercase Words, Combined with Underlines

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Resolution: Fixed
    • 1.0
    • 2.2
    • unqualified
    • None
    • Operating System: All
      Platform: All
    • 53089

    Description

      Consider the attached FO file which combines words of lowercase and uppercase letters.

      As it is expected, the word "expected" is hyphenated correctly (example 2). Also the uppercase "SUCCESS". Even combined with underlines before and after the word (see example 4 and 5).

      However, if there is another word (like OCF_SUCCESS) the word isn't hyphenated at all anymore. I don't know if this is an expected behaviour or an issue in the hyphenation patterns. Interestingly, XEP from RenderX hyphenates it as "OCF_SUC-CESS". As far as I know, they use also the TeX hyphenation patterns as FOP.

      Attachments

        1. uppercase-hyphen.fo
          1 kB
          Thomas Schraitle
        2. uppercase-hyphen.pdf
          6 kB
          Thomas Schraitle
        3. output.pdf
          5 kB
          Robert Meyer
        4. patch.diff
          9 kB
          Robert Meyer
        5. patch2.diff
          0.8 kB
          Robert Meyer
        6. fop-trunk-jan02-2014-test-fop-2044.fo
          194 kB
          Lennart Johansson
        7. fop-trunk-jan02-2014.log
          4 kB
          Lennart Johansson
        8. fop-trunk-jan92-2914-test-fop-2044.pdf
          51 kB
          Lennart Johansson
        9. uppercase-hyphen-2-fixed.pdf
          7 kB
          Luis Bernardo
        10. uppercase-hyphen-2.fo
          2 kB
          Luis Bernardo

        Issue Links

          Activity

            People

              rmeyer Robert Meyer
              tom_schr@web.de Thomas Schraitle
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: