Fonts not working in nextcloud + onlyoffice spreadsheets

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.8.2
What app is this about: Nextcloud + OnlyOffice

Describe your issue

Fonts are not working properly in OnlyOffice integration in Nextcloud in spreadsheets (and possibly also elsewhere).

When you select a font in the font menu, it chooses a completely different font (a few items up in the list). Bold and italic are also working not as expected. There is also often strange spacing between letters and lines. Something weird is going on.

Only office version: 8.1.1~ynh1
Next cloud version: 29.0.10~ynh1

Curious for a fix and/or for a guide on how to add new fonts.

Share relevant logs or error messages

No relevant logs

But here is an active link where you can see the font glitching out: Nextcloud

I ran /usr/bin/documentserver-generate-allfonts.sh and then rebooted the server, and then cleared the cache for the website, and now font selection appears to be working.

Not entirely sure what fixed it.

1 Like

Thanks a lot. I was also super confused. It happened after the migration to Yunohost 12. All the documents were not readable. But the above solution fixed everything. Just run it as a root and you should be fine. Thanks @notplants

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.