Open 2fd opened 1 year ago
Did you find a workaround?
~no, I didn't~
Hi @arthurbdev, after digging a little bit a found the root cause here. If you try to update the context with a font that is not present on your distro it will ignore any other change. In which case the solution will be to install the font you will use.
I'm trying to create an image inside a node container on alpine, but the prop
front
doesn't update if I assign a new value.As a Proof of Concept I setup this repo https://github.com/2fd/poc-skia-canvas-context to show the error.
It runs the following test:
and run it on node
14
,16
,18
, and20
usingslim
andalpine
and it fails on every version of alpinethe value of font never was updated