Upload custom fonts
-
Hi all,
first time using Invoice Ninja. Until now I think it has everything I need, the only thing i cannot figure out is how to activate new fonts (Roboto Condensed).
I was trying it using the invoice ninja docs:
https://invoice-ninja.readthedocs.io/en/latest/configure.html#custom-fontsI uploaded the TTF to:
/public/fonts/invoice-fonts
using the app File Manager, but I cannot run the grunt command. Or is there any other way specifically for cloudron? I am not that tech savvy so any help is appreciated!
cheers
-
This might actually be much more complicated. The Cloudron package uses the upstream releases and thus does not even install the development tools like
grunt
We have to dig into the code to see what that grunt task does and how it may work otherwise as well, afterall it is just some additional font in the end to be sourced. -
It seems there are some requests upstream for this already:
- https://github.com/invoiceninja/invoiceninja/issues/1855 . This one is open. @squareclouds maybe you can ask him if the new invoice ninja v5 will support it.
- https://github.com/invoiceninja/invoiceninja/issues/1065
- https://github.com/invoiceninja/invoiceninja/pull/604