Closed finom closed 1 year ago
Could you please share the font that you are using?
@shuding I'm sorry, it is already fixed and I forgot how :)
I was getting this same error coming from @vercel/og
; in my case, I was trying to use a variable font file. Replacing it with a static font file solved the issue.
Hey guys! I've created another issue before https://github.com/vercel/satori/issues/321. I thought it's because the engine used by @vercel/og don't include any font with bold style. But I've got the following error:
There is my code:
Any idea how to fix that?
UPD
It looks like the example from the official documentation also doesn't support bold font: https://vercel.com/docs/concepts/functions/edge-functions/og-image-examples#using-tailwind-css---experimental (notice
font-bold
class)