-
-
Notifications
You must be signed in to change notification settings - Fork 352
Description
Affected Version
1.1.0-rc+402e887
Describe the Bug
In some cases for 2 German epubs, I could observe text flow issues with hyphenation enabled.
1. Missing expected word-break
Not sure if this is expected, apparently there's (rightfully) a non-breaking space between 200 and Quadratkilometer but I don't know how to check which word breaks CrossPoint introduces here or how to inspect the underlying hyphenation trie. Is it possible the non-breaking space prevents the following word from breaking at all? Because that would actually be a software bug and not just explained through missing hyphenation data.
Additionally, I'm not sure if it's expected that the non-breaking space has a fixed small width while regular spaces stretch for justification.

2. Hyphenated word flows to next line
This should not happen, the hyphen is inserted at the right place but the word then flows to the next line including the hyphen.

3. Quoted word not hyphenated
(See #998 (comment))
Steps to Reproduce
Due to the epubs' copyright I unfortunately can't provide them publicly, maybe this issue can serve as a place to collect further examples from public domain books where this happens.
(Update: html excerpts in #998 (comment))
Expected Behavior
For comparison, here's how these paragraphs look in landscape mode:
Relevant Log Output/Screenshots
(No valuable info in logs, screenshots are pasted above)