CollaboraOnline / online

Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
https://collaboraonline.com
Other
1.8k stars 690 forks source link

Remote font configuration not work #5437

Open JB1985 opened 1 year ago

JB1985 commented 1 year ago

Hi,

i have try to configure the remote font. The font is displayed,

image

but everything stays white when I type.

image

My json:

{
    "kind": "fontconfiguration",
    "server": "Nextcloud Fonts",
    "fonts": [
        {
            "uri": "https://files.anydomain.xyz/fonts/OpenSans-Regular.ttf"
        },
        {
            "uri": "https://files.anydomain.xyz/fonts/OpenSans-Bold.ttf"
        },
        {
            "uri": "https://files.anydomain.xyz/fonts/OpenSans-Italic.ttf"
        }
    ]
}

Everything looks fine in the logs:

wsd-814785-814814 2022-11-07 18:46:34.042444 +0100 [ remotefontconfig_poll ] WRN  Waking up dead poll thread [HttpSynReqPoll], started: false, finished: false| net/Socket.hpp:725
wsd-814785-814814 2022-11-07 18:47:34.149719 +0100 [ remotefontconfig_poll ] WRN  Waking up dead poll thread [HttpSynReqPoll], started: false, finished: false| net/Socket.hpp:725
wsd-814785-814814 2022-11-07 18:47:35.844590 +0100 [ remotefontconfig_poll ] WRN  Waking up dead poll thread [HttpSynReqPoll], started: false, finished: false| net/Socket.hpp:725
wsd-814785-814814 2022-11-07 18:47:35.875951 +0100 [ remotefontconfig_poll ] WRN  Waking up dead poll thread [HttpSynReqPoll], started: false, finished: false| net/Socket.hpp:725

I am running Collabora Online 22.05.7.3.

My coolwsd.xml

    <remote_font_config>
        <url desc="URL of optional JSON file that lists fonts to be included in Online" type="string" default="">https://files.anydomain.xyz/fonts.json</url>
    </remote_font_config>

Anyone a idea what is wrong?

JB1985 commented 1 year ago

Still in 22.05.8.2

szaimen commented 1 year ago

I think I am running into the same problem

Mat-DB commented 5 months ago

Out of interest, is this solved or how is the progress? Thanks!