R
Railway12mo ago
btraut

Custom fonts via fontconfig

I'm trying to set up the sharp pacakge in nodejs to generate an image for me using text and a custom font. Their documentation says I need to install fontconfig which I've done via railway.toml. But once I have fontconfig installed, I'm not sure where to put font files. Is there some way to copy them to /usr/local/share/fonts from my repo? Are there any examples of fontconfig usage with railway projects?
2 Replies
Percy
Percy12mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Percy
Percy12mo ago
No project ID was provided. Closing thread.
Want results from more Discord servers?
Add your server