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
Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
Yes. 0.27.0
What are the steps to reproduce?
install either text2png or textToImage. Import sharp, suddenly text2png and / or textToImage packages custom font stops working. Since this happens to 2 different packages i assume its a problem with sharp somehow.
What is the expected behaviour?
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
If this occurs only on macOS then it probably relates to #2399
text2png is based on canvas and therefore cairo and pango, so if you want it to use CoreText for font discovery rather than fontconfig, you can set the PANGOCAIRO_BACKEND="coretext" environment variable.
Are you using the latest version? Is the version currently in use as reported by
npm ls sharp
the same as the latest version as reported bynpm view sharp dist-tags.latest
?Yes. 0.27.0
What are the steps to reproduce?
install either text2png or textToImage. Import sharp, suddenly text2png and / or textToImage packages custom font stops working. Since this happens to 2 different packages i assume its a problem with sharp somehow.
What is the expected behaviour?
Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?
The text was updated successfully, but these errors were encountered: