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

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

    Attachment: output.pdf

After having a go this morning I think I have got it working and it seems to 
pass all the tests. I have attached an output.pdf file to show the original 
example with the changes. I did have to remove two fills from before the 
OCF_SUCCESS though to get it to work, otherwise there is not enough space. The 
code at present is very rough and needs a bit of work and more testing before I 
would consider it for a patch. It probably won't be today, but i'll post an 
update to the issue when done.
                
> 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, 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

Reply via email to