3 ms·
Thanks for the suggestion! Just added that to the CSS; everything will be hyphenated now. Anything else you'd like to see in there? CSS3 handles most (all?) of
by buu700 14y ago
Thanks for the suggestion! Just added that to the CSS; everything will be hyphenated now.
Anything else you'd like to see in there? CSS3 handles most (all?) of what LaTeX can do that would be useful here, and this only needs to render properly in wkhtmltopdf.
- bjourne 14y agoDoesn't seem to work for me. It could be that I'm running Ubuntu (assuming you are on OS X) and my version of wkhtmltopdf (0.9.9) uses an older version of webkit that doesn't have support for hyphenation yet.
- buu700 14y ago(assuming you are on OS X) Excuse me? Screw you too, buddy. (I've only ever used this on some version of Ubuntu, so you're definitely not on a badly supported platform or anything. :) Anyway, I haven't actually tested the hyphenation myself; the CSS was simple enough that I figured it would just work in any vaguely recent build of WebKit, but I'll mess around with both the CSS and the Wkhtmltopdf version after work today and see if I can find out what the issue is.
- bjourne 14y agoSorry, the reason I assumed OS X was because Safari seem to have better hyphenation support than current Linux browser rendering engines. See http://caniuse.com/css-hyphens http://caniuse.com/css-hyphens and http://stackoverflow.com/questions/5356752/webkit-hyphenation http://stackoverflow.com/questions/5356752/webkit-hyphenatio...