What I tried:
$pdf->setOption('presentational-hints');
What I expected: for this to be accepted.
What actually happened:
Too few arguments to function Pontedilana\PhpWeasyPrint\AbstractGenerator::setOption()
What I tried:
$pdf->setOption('presentational-hints', '');
What I expected: for this to be accepted.
What actually happened:
weasyprint: error: unrecognized arguments: /tmp/php_weasyprint664ca461dfe6e2.63654685.pdf
(likely due to the cmdline being --presentational-hints '' instead of --presentational-hints.
Fun fact: you list $pdf->setOption('presentational-hints'); in the Readme, when it doesn't actually seem to work.
What do?