Summary: | hyphenation inside block in FOP works only for pure alphabetical characters | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Anuja <anuja_gok> |
Component: | general | Assignee: | fop-dev |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 0.93 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Windows XP | ||
Attachments: |
This is the fo file that recreates the bug
Associate pdf file that gets created when fop is run on the attached fo file |
Description
Anuja
2007-04-18 11:38:25 UTC
Created attachment 19993 [details]
This is the fo file that recreates the bug
Created attachment 19994 [details]
Associate pdf file that gets created when fop is run on the attached fo file
I think I see the problem here, but I'm not sure it's a bug... Not all of it, that is. Hyphenation is, in fact, only applicable to pure alphabetical characters. Strictly speaking, one cannot 'hyphenate' a seven-digit number, if I interpret correctly. That said, the case with the comma maybe could be handled better. Currently, from the point on where the hyphenator meets the comma (or more generally: any non-letter), it does not even attempt to hyphenate anymore. What you're really looking for is unconditional wrapping of the text, rather than hyphenation, it seems. That would be wrap-option="wrap" on the blocks, which we claim to support according to the compliance page. After having a quick try, this feature seems to be broken, however... resetting P2 open bugs to P3 pending further review |