You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm using @napi-rs/canvas (^0.1.53) under Bunjs (1.1.17) and Windows 11.
When I load a font with the registerFromPath() method, everything works normally. But when I load a buffer of some kind or a buffer of this same file, the text no longer appears on my canvas. How do I get .register() to work?
Hey, I'm using @napi-rs/canvas (^0.1.53) under Bunjs (1.1.17) and Windows 11.
When I load a font with the registerFromPath() method, everything works normally. But when I load a buffer of some kind or a buffer of this same file, the text no longer appears on my canvas. How do I get .register() to work?
Work:
Result:
Don't work:
Result:
The text was updated successfully, but these errors were encountered: