baskerville / plato

Document reader
Other
1.25k stars 103 forks source link

No hyphenation on left aligned texts available? #285

Closed endverbraucher closed 8 months ago

endverbraucher commented 1 year ago

I'm using the latest plato version (0.9.34) on a Kobo Libra 2. There is one thing I'm missing: hyphenation when text alignment is set to left. Hyphenation works great when text alignment is set to justify, but I can't get it to use hyphens for left aligned texts. (tried it with user css). Are there ways to do this?

A little bit more context: I read a lot german books, and the german language tends to have a lot of long words. And hyphenation improves readability here. I prefer to do this with left aligned texts, because the uneven wordspacing on justify aligned texts sometimes feel distracting to me.

baskerville commented 1 year ago

There’s a bug and I’m working on fixing it. But please note that properly hyphenating German words requires extended hyphenation patterns that aren't supported yet.

endverbraucher commented 1 year ago

Thanks for fixing the bug. Ping me if I can help with testing the fix! Also thank you for pointing to the missing support for extended hyphenation patters and the background infos. I think the support for "basic" hyphenation patterns will still improve the situation here.