![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2019
Device: Kindle Voyage
|
Hyphenation in Viewer?
Is there any way to turn on hyphenation in Viewer?
Thanks! |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,103
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
I use the Hyphenate This! Plugin.
bernie See screenshots first one is before running Hyphenate This!, the second is after running Hyphenate This!. Last edited by gbm; 11-10-2019 at 01:05 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2019
Device: Kindle Voyage
|
Quote:
What I mean is the support in the viewer itself like in the old v3 viewer (there is an option under Misc Options). I also tried to add p {hyphens: auto} under styles but it didn't work (WebEngine limitation?). Looks like this should be yet anther feature request... |
|
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,433
Karma: 152905840
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I'm going to assume that you are adding this in the user stylesheet in the Preferences/Styles for the viewer. Hyphens: auto may not be supported but have you tried the other hyphen options used by various renderers? Or adding !important to the end of the line?
Here's what one poster gave as his hyphenation options: Code:
adobe-hyphenate: auto !important; -webkit-hyphens: auto !important; -moz-hyphens: auto !important; -ms-hyphens: auto !important; -epub-hyphens: auto !important; hyphens: auto !important; Last edited by DNSB; 11-10-2019 at 07:43 PM. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,216
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have no idea what webengine requires to enable hyphenation, probably dictionaries of some kind. Someday I will get around to investigating that.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,216
Karma: 23446406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah webengine doesn't support it because chrome doesn't support it (except on macOS) https://bugs.chromium.org/p/chromium...tail?id=652964
I could of course implement hyphenation dynamically using soft hyphens with the hyphenator JS library (thsi is how it was done in v3) but that is hacky and slow and causes issues with other things such as search. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hyphenation does not work in E-book Viewer | Elancrom | Calibre | 2 | 06-18-2014 06:19 AM |
0.9.7: Anomaly viewer, start viewer in full screen mode | DrChiper | Calibre | 2 | 11-23-2012 06:33 AM |
[Kindle Touch] No Image viewer and pdf viewer with white margins | MaxPowerITA | Kindle Developer's Corner | 7 | 04-24-2012 05:27 AM |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
# user css for viewer.py/ ebook-viewer/ prs-650 | tscamera | Calibre | 0 | 01-02-2011 06:28 PM |