05-06-2024, 06:37 AM | #1 |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jan 2021
Location: Italy
Device: Kobo Libra 2, Kindle Paperwhite (1st gen)
|
Hyphenation in Viewer - 2024
I'm starting this thread as a follow up to this 2019 one. At the time the situation was much more dire, with Chromium not having support for hyphenation at all and the lack of hyphenation dictionaries for the vast majority of languages.
Right now, however, it seems like all the pieces necessary for a seamless integration of automatic hyphenation in the calibre Viewer are present:
The only doubt I have is whether QtWebEngine actually added support for hyphenation at all. I can see no reason not to do this, yet I couldn't find any info on it, and the fact that calibre's Viewer doesn't already seamlessly support hyphenation may indicate that the problem lies with QTWebEngine and not with how it's implemented in the Viewer. This may well be a question of personal preference, but I believe automatic hyphenation would be a very nice feature that for some languages would yield a marked improvement in readability. If this is considered too disruptive to be made a GUI option, it could simply be allowed as Custom CSS, away from a general user's reach. Given this new situation, is there a reasonable possibility that the calibre Viewer may support this? |
05-06-2024, 06:42 AM | #2 |
creator of calibre
Posts: 44,530
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I dont know of a way to get Qt WebEngine to use hyphenation dictionaries on any platform other than macOS where IIRC it can use the native hyphenation framework for it.
If you do, I am all ears. |
Advert | |
|
05-06-2024, 06:50 AM | #3 |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jan 2021
Location: Italy
Device: Kobo Libra 2, Kindle Paperwhite (1st gen)
|
That is a pity :(
So the problem lies with QtWebEngine. Do you know any more about it, particularly whether they implement hyphenation at all? Because the dictionaries should get shipped along with Chromium. I don't think I'm the best person to investigate this but I surely want to try, and any info is welcome |
05-06-2024, 08:30 AM | #4 |
creator of calibre
Posts: 44,530
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No clue, last I looked into this, IIRC I could find only spelling dictionary support not hyphenation.
Not that you can use the calibre content server viewr with a web browser to read books with hyphenation. |
05-14-2024, 05:42 AM | #5 |
Enthusiast
Posts: 47
Karma: 10
Join Date: Jan 2021
Location: Italy
Device: Kobo Libra 2, Kindle Paperwhite (1st gen)
|
A small update:
I searched through the QT bug tracker but I found almost nothing. There appears to be the possibility of importing/loading dictionaries, but only for spell checking, which is a pity considering some dictionaries also contain hyphenation rules. I opened a thread here on the QT forums to ask for information, but as of now I got no answer, so for now that's it. Last edited by 413Michele; 05-14-2024 at 05:42 AM. Reason: missing comma |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Short Fiction Dorrington, Albert: Sally of Sunday Reef (2024); v1, 2 Jan 2024 | Pulpmeister | ePub Books | 0 | 01-03-2024 12:51 AM |
Short Fiction Dorrington, Albert: Sally of Sunday Reef (2024); v1, 2 Jan 2024 | Pulpmeister | Other Books | 0 | 01-02-2024 01:27 AM |
Hyphenation in Calibre Viewer | preuthier | Viewer | 6 | 11-19-2022 01:10 AM |
Hyphenation in Viewer? | eckmm38 | Calibre | 5 | 11-10-2019 10:27 PM |
Hyphenation does not work in E-book Viewer | Elancrom | Calibre | 2 | 06-18-2014 07:19 AM |