Skip to content

Commit 8ee28e9

Browse files
Set --font-render-hinting=none in headless mode
1 parent 515dcd6 commit 8ee28e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Browser/BrowserProcess.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ private function getArgsFromOptions($binary, array $options)
311311
if (!array_key_exists('headless', $options) || $options['headless']) {
312312
$args[] = '--headless';
313313
$args[] = '--disable-gpu';
314+
$args[] = '--font-render-hinting=none';
314315
$args[] = '--hide-scrollbars';
315316
$args[] = '--mute-audio';
316317
}

0 commit comments

Comments
 (0)