kiwi0fruit / pyppdf

Pyppeteer PDF. Print html sites and files to pdf via pyppeteer (uses patched pyppeteer that by default downloads updated Chromium revision via https with certifi).
MIT License
37 stars 6 forks source link

On Linux on html2pdf fonts are rendered without kerning #13

Closed kiwi0fruit closed 3 years ago

kiwi0fruit commented 3 years ago

Issue is described here: https://github.com/kiwi0fruit/open-fonts/issues/24

issue is resolved here: https://github.com/puppeteer/puppeteer/issues/2410

const browser = await puppeteer.launch({
  headless: true,
  args: ['--font-render-hinting=none']
});
kiwi0fruit commented 3 years ago

fixed in 0.1.2