The bug happened after migrationg from node 16 to node 20, puppeteer 21.0.0 to puppeteer 22.0.0 and sparticuz/chromium 115.0.0 to sparticuz/chromium 121.0.0. Before that the font was loaded and used without any problems
Environment
chromium Version: 121.0.0
puppeteer / puppeteer-core Version: 22.0.0
Node.js Version: 20
Lambda / GCF Runtime: nodejs20
Expected Behavior
when using await chromium.font() the font should be loaded
Current Behavior
The font isn't loaded
Steps to Reproduce
await chromium.font('url to otf file in S3 bucket')
Description
The bug happened after migrationg from node 16 to node 20, puppeteer 21.0.0 to puppeteer 22.0.0 and sparticuz/chromium 115.0.0 to sparticuz/chromium 121.0.0. Before that the font was loaded and used without any problems
Environment
chromium
Version: 121.0.0puppeteer
/puppeteer-core
Version: 22.0.0Expected Behavior
when using await chromium.font() the font should be loaded
Current Behavior
The font isn't loaded
Steps to Reproduce
await chromium.font('url to otf file in S3 bucket')
const browser = await api.aws.createBrowser() const page = await browser.newPage() await page.setContent(html, { waitUntil: 'networkidle2' }) const buffer = await page.pdf({ format: 'A4', displayHeaderFooter: true, margin: { top: '80px', bottom: '70px', left: '40px', right: '40px', } })
let base64 = btoa(buffer)