alvarcarto / alvarcarto/url-to-pdf-api

Is there a way to override the flags passed to puppeteer.launch?

Open
#124 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.