You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Robert Meyer (JIRA)" <ji...@apache.org> on 2013/02/28 11:57:12 UTC

[jira] [Updated] (FOP-2044) [PATCH] Hyphenation of Uppercase Words, Combined with Underlines

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

Robert Meyer updated FOP-2044:
------------------------------

    Attachment: patch2.diff

Attached a patch with the changes recommended by Luis. 
                
> [PATCH] Hyphenation of Uppercase Words, Combined with Underlines
> ----------------------------------------------------------------
>
>                 Key: FOP-2044
>                 URL: https://issues.apache.org/jira/browse/FOP-2044
>             Project: Fop
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 1.0
>         Environment: Operating System: All
> Platform: All
>            Reporter: Thomas Schraitle
>            Assignee: Robert Meyer
>         Attachments: output.pdf, patch2.diff, patch.diff, uppercase-hyphen.fo, uppercase-hyphen.pdf
>
>
> 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.

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