Skip to content

Commit

Permalink
possible fix for fonts not rendering correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparticuz committed Feb 22, 2024
1 parent 81f83bb commit 8206092
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ class Chromium {
"--no-default-browser-check", // https://source.chromium.org/search?q=lang:cpp+symbol:kNoDefaultBrowserCheck&ss=chromium
"--no-pings", // https://source.chromium.org/search?q=lang:cpp+symbol:kNoPings&ss=chromium
"--single-process", // Needs to be single-process to avoid `prctl(PR_SET_NO_NEW_PRIVS) failed` error
"--font-render-hinting=none", // https://github.com/puppeteer/puppeteer/issues/2410#issuecomment-560573612
];
const chromiumDisableFeatures = [
"AudioServiceOutOfProcess",
Expand Down

0 comments on commit 8206092

Please sign in to comment.