3 ms·
Apache FOP[1] does[2] if you're willing to jump back in time to XHTML or use an HTML2FO converter. As always, Unicode is a problem. 1: https://xmlgraphics.apa
by trynewideas 8y ago
Apache FOP[1] does[2] if you're willing to jump back in time to XHTML or use an HTML2FO converter.
As always, Unicode is a problem.
1: https://xmlgraphics.apache.org/fop/ https://xmlgraphics.apache.org/fop/
2: https://xmlgraphics.apache.org/fop/0.95/hyphenation.html https://xmlgraphics.apache.org/fop/0.95/hyphenation.html
cf. https://wiki.apache.org/xmlgraphics-fop/HowTo/HtmlToPdf https://wiki.apache.org/xmlgraphics-fop/HowTo/HtmlToPdf
- sanxiyn 8y agoThat's Knuth-Liang hyphenation, which is something different from Knuth-Plass line breaking.
- trynewideas 8y agoOh, good catch, sorry about that. Simon Pepping did some work done on Knuth-Plass in FO, but it's old and probably not quite as relevant now: - https://web.archive.org/web/20070114211331/http://www.leverkruid.eu:80/GKPLinebreaking/elements-xhtml.xml https://web.archive.org/web/20070114211331/http://www.leverk... - https://web.archive.org/web/20070128145517/http://www.leverkruid.eu/GKPLinebreaking/index.html https://web.archive.org/web/20070128145517/http://www.leverk...