f98900c73c
The coolwsd.xml file can now contain a URI of a JSON file on some server that contains URIs of fonts. These fonts are downloaded to the coolwsd server. Just like the remote configuration thing, the URIs are checked once a minute and the JSON or the fonts mentioned in it are re-downloaded if their contents has changed. If a font has been removed from the JSON file then the corresponding downloaded could be removed, too. But there is no way to remove it from core without restarting the whole COOL server, so we don't bother. We need to put the font in such a place so that its pathname is the same both in the ForKit process (outside any chroot jail) and in a Kit process (inside its own jail(), because even if it is in the ForKit process that we call the LO core vcl API to load a "temporary" font, code elsewhere in LO core re-opens the font file later, naturally using the same pathname, when it is needed (see FreetypeFontFile::Map() in vcl/unx/generic/glyphs/freetype_glyphcache.cxx). Signed-off-by: Tor Lillqvist <tml@collabora.com> Change-Id: If78058ddff5ed05c7a82d7ea465a7a414fd0d861 |
||
---|---|---|
.. | ||
ChildSession.cpp | ||
ChildSession.hpp | ||
Delta.hpp | ||
DummyLibreOfficeKit.cpp | ||
DummyLibreOfficeKit.hpp | ||
ForKit.cpp | ||
Kit.cpp | ||
Kit.hpp | ||
KitHelper.hpp | ||
SetupKitEnvironment.hpp | ||
TestStubs.cpp | ||
Watermark.hpp |