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
I'm unsure there's any solution for Windows users based on the way canvas currently provides prebuilt DLLs. It's possible Automattic/node-canvas#813 might help solve this.
@mrchoke If you're still having problems, please open a new question and provide a complete, minimal (i.e. as few other dependencies as possible) code sample and list of dependencies (must all be the latest available) that allows someone else to reproduce, ideally as a standalone repo.
Repository owner
locked and limited conversation to collaborators
Mar 1, 2024
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Possible bug
Are you using the latest version of sharp?
yes, sharp 0.32.3
What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?System:
OS: Windows 10 10.0.19045
CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
Memory: 6.62 GB / 15.36 GB
Binaries:
Node: 14.21.3 - C:\Program Files\nodejs\node.EXE
npm: 6.14.18 - C:\Program Files\nodejs\npm.CMD
pnpm: 7.17.0 - ~\AppData\Roaming\npm\pnpm.CMD
npmPackages:
sharp: ^0.32.1 => 0.32.3
What are the steps to reproduce?
install sharp 0.32.3
install canvas 2.11.2
What is the expected behaviour?
Overlay text and canvas images on a basemap
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
Please provide sample image(s) that help explain this problem
verion 0.32.3 0.32.2 0.32.1 0.32.0 have this problem
If I only overlay text on the basemap, there is no problem.
If I only overlay canvas on the basemap, there is no problem.
If I overlay both text and canvas on the basemap, it shows error below.
Looks like text overlay and image overlay repeated register PangoFontMap
The text was updated successfully, but these errors were encountered: