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 "Lennart Johansson (JIRA)" <ji...@apache.org> on 2014/01/17 18:48:20 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=13874997#comment-13874997 ] 

Lennart Johansson edited comment on FOP-2044 at 1/17/14 5:46 PM:
-----------------------------------------------------------------

I have attached the three files fop-trunk-jan02-2014-*** The .fo file, the .pdf file, and a log file showing the fop WARNING messages.
There are 11 examples of words that fop can not hyphenate - the .fo files has been created from a test header file. A special program creates the docbook  XML file and XML/XSLT libx* 2.7.8/1.1.26 creates the FO file, finally FOP creates the PDF.

I am not using any other fonts than are default in the fop trunk. fop is run in a Linux 2.6.x server.

Hoping this can help you to test and find out what can be done to allow FOP to handle these somehow without overflowing.
Best of Luck / Lennart



was (Author: ljo):
I have attached the three files fop-trunk-jan02-2014-*** The .fo file, the .pdf file, and a log file showing the fop WARNING messages.
There are 11 examples of words that fop can not hyphenate - the .fo files has been created from a test header file. A special program creates the docbook  XML file and XML/XSLT libx* 2.7.8/1.1.26 creates the FO file, finally FOP creates the PDF.

Hoping this can help you to test and find out what can be done to allow FOP to handle these somehow without overflowing.
Best of Luck / Lennart


> [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
>             Fix For: trunk
>
>         Attachments: fop-trunk-jan02-2014-test-fop-2044.fo, fop-trunk-jan02-2014.log, fop-trunk-jan92-2914-test-fop-2044.pdf, output.pdf, patch.diff, patch2.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 was sent by Atlassian JIRA
(v6.1.5#6160)