Update fonts in Collabora CODE for Nextcloud

If you want to add fonts to Collabora CODE (for example used in Nextcloud), you can do the following:

  • add your fonts (e.g. .ttf files) to /opt/cool/systemplate/usr/share/fonts/truetype
  • re-run the generation fo the template with the command
coolconfig update-system-template
  • restart coolwsd
systemctl restart coolwsd.service

And this it, the new fonts shall be available for use!