I have set up collabora office and nextcloud using docker compose. It is mostly working, but I have problems with remote fonts.
I have set the remote_font_config url to point to my nextcloud fonts.json, and it works well in text documents and spreadsheets. But it does not work in drawings and presentations.
Is there anythings I can do to get access to remote fonts also in presentations and drawings?
I guess this is not a common problem, since nobody answered.
Are there anybody here who uses remote_font_config to add fonts from nextcloud, and are actually seeing these fonts in all the collabora tools (text, spreadsheets, drawings and presentations)?
Would be good to know if others are doing this with success, or if I am using an untested and faulty feature.
To configure fonts in Collabora Online, ensure that Remote Font support is enabled in your coolwsd.xml file or by providing the necessary options in your Docker Compose configuration for the CODE container.
FYI - if you have pre-forked a number of documents; then it is likely that you’ll re-use old documents that don’t have the font included for a while (or is it? - perhaps we prune those). Either way - generally for new documents where new >= number-of-pre-forked-documents which is perhaps 4 by default (?) - then you should get the new fonts.
It would be -really- surprising to see them present in some types of document but not others, they all come from the same spawned parent.
I am not familiar with pre-forking, so I don’t know how that works. But I just tried creating a lot of new draw-documents and the extra fonts do not show up in any of them. But they always show up in writer-documents.
Interesting - thanks for the report; did you file a ticket at github ? =) TBH I’m really rather curious why that is [!] =) Can you do Ctrl-Alt-Shift-D and turn on protcol dumping, then look in the console when you select the drop-down in a font list - is the font listed in the JSON that comes to the console ? =)
I pressed Ctrl-Alt-Shift-D and got the debug menu. Protocol dumping is on. I assume this is dumped to the browser web console, right? I get lots of INCOMING and OUTGOING messages there.
But there is no log output when I select the font dropdown menu in the toolbar, nor in the sidebar. I get lots of output if I change font, but I don’t see any message with a list of all the fonts.
Yes - you’ll prolly need to open eg. a dialog that has a list of fonts in it; or switch sidebar tabs (perhaps). As you say this prolly best belongs in the github bug tracker; please do CC Darshan on that ticket =)