Followed instructions here https://invoice-ninja.readthedocs.io/en/latest/configure.html#custom-fonts to install a new font. I’ve successfully created the NotoSansTC.js
root@invoice-ninja-ubuntu-s-1vcpu-2gb-sgp1-01:/var/www/html/ninja/public/fonts/invoice-fonts# grunt dump_dir
Running "dump_dir:NotoSansTC" (dump_dir) task
File "public/js/vfs_fonts/NotoSansTC.js" created.
Done, without errors.
In my browser, this font is available but the invoice preview is blank with a browser warning:
File ‘fonts/NotoSansTC/NotoSansTC-Black.otf’ not found in virtual file system
Failed to generate PDF: undefined
refreshPDF @ invoice_design:2334
The Ukai font causes a number of spacing issues, so replacing that font with google’s notosanscjk would be a much better choice and solve this support ticket. Otherwise, I’d really appreciate some help getting this font to work in my whitelabel IV instance. Thank you!