alvarcarto / alvarcarto/url-to-pdf-api
Is there a way to override the flags passed to puppeteer.launch?
Open
PR welcome
- Dominant language
- HTML
- Stars
- 7.1k
- Forks
- 779
- PR merge metrics
- No merged PRs in 30d
Description
I'm working on [this Puppeteer bug](https://github.com/puppeteer/puppeteer/issues/2410).
The resolution seems to be to pass a `--font-render-hinting=medium` flag to puppeteer.launch, but I see that it is [hardcoded to render-core.js](https://github.com/alvarcarto/url-to-pdf-api/blob/4b15a125f6dfa2f3043df94feb8c5efcad08f859/src/core/render-core.js#L20).
Any way to make it customizable per request so it can be overridden?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.