$sans]));
$options = new ConversionOptions($fonts, new PageSettings(margin: new Edges()), formControls: FormControls::StaticSnapshot);
$result = (new Converter())->convert(new HtmlSource($html, baseUri: 'https://www.w3.org/Style/CSS/Test/CSS1/current/test5526c.htm'), $options);
file_put_contents($destination . '/test5526c.pdf', $result->pdf);
file_put_contents($destination . '/manifest.json', json_encode([
'engine' => 'native-php', 'php' => PHP_VERSION, 'sourceSha256' => hash('sha256', $html),
'pdfSha256' => hash('sha256', $result->pdf), 'pages' => $result->pageCount,
'diagnostics' => $result->diagnostics, 'fonts' => [['family' => 'Lato (explicit sans-serif binding)', 'sha256' => hash('sha256', $bytes)]],
'formControls' => 'static-snapshot',
], JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR) . "\n");
fwrite(STDOUT, 'test5526c: ' . $result->pageCount . ' page(s), ' . strlen($result->pdf) . " bytes\n");