baldur
baldur

Working on a series of reviews of various free/OSS tools for generating print-ready PDFs from HTML and CSS. First up is will be weasyprint. Can you guess which of these is which: latex, weasyprint, and Chrome/puppeteer?

A sample paragraph. The text is unimportant. What matters is that the word spacing on the second sample is absolutely horrible

|
Embed
Progress spinner
In reply to
artkavanagh
artkavanagh

@baldur The. bottom one is LaTeX (hyphenation and ligatures). Of the other two, I’d guess that the middle one is weasyprint and the third Chrome, but I haven’t seen either of those in the wild before.

|
Embed
Progress spinner
artkavanagh
artkavanagh

@artkavanagh @baldur Obviously, I meant that the top one is Chrome.

|
Embed
Progress spinner
baldur
baldur

@artkavanagh You are absolutely right about LaTeX being the bottom one but swapped the other two. Chrome is in the middle, with the wonky spacing, while weasyprint is at the top. 🙂

|
Embed
Progress spinner
artkavanagh
artkavanagh

@baldur I ought to have guessed that the one ligatures but no hyphenation was Chrome (because Google has put a lot of work into fonts) and that weasyprint was the other way around, but I managed to confuse myself. I looked at weasyprint a few months ago but gave up because it seemed complicated and geeky to set up. I may well take another look.

|
Embed
Progress spinner