Remember this Chrome headless bug that I’ve been obsessing about?
Turns out that this is a known bug in Chrome headless on Linux. To fix it either turn off hinting or subpixel positioning
Remember this Chrome headless bug that I’ve been obsessing about?
Turns out that this is a known bug in Chrome headless on Linux. To fix it either turn off hinting or subpixel positioning
@baldur Basically, all of your PDF renders using headless Chrome on Linux have broken typography: no hyphens (bug #6840) and broken font hinting leading to bad kerning in varying degrees.
Fix it using either --font-render-hinting=none or --disable-font-subpixel-positioning
Both flags have the same result in my testing. Then you need to use a hyphenation polyfill like hyphenopoly to make up for bug #6840 (no hyphens on headless Chrome)