Bug 697707 - request for auto hyphenation in epub (enable\disable auto hyphenation)
Summary: request for auto hyphenation in epub (enable\disable auto hyphenation)
Status: UNCONFIRMED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: epub (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: MuPDF bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-30 09:28 UTC by foobnix
Modified: 2017-04-15 01:53 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
sample.png (778.79 KB, image/png)
2017-03-30 09:28 UTC, foobnix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description foobnix 2017-03-30 09:28:44 UTC
Created attachment 13512 [details]
sample.png

I would like to request to support word wraping for epub books.
It's better to read books with good text formatting
all lines with same length is better view
It would be good to enable-disable this feature.
Comment 1 foobnix 2017-04-15 01:50:35 UTC
Here is example .js library for hyphenation https://github.com/mnater/Hyphenator with patters for all Languages

here is java sample with the same patterns
https://github.com/bluejamesbond/TextJustify-Android/blob/master/library/src/main/java/com/bluejamesbond/text/hyphen/DefaultHyphenator.java

I think C lang should be very similar.

MuPDF can make hyphenation only for the last word in the line, for better speed.

It would be very good if you can make beautiful text formatting for all languages.