Bug 132972 - [docker] Allow users to load custom fonts
Summary: [docker] Allow users to load custom fonts
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 09:35 UTC by Marco Marinello
Modified: 2020-05-24 10:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Marinello 2020-05-12 09:35:57 UTC
For me, it would be likely useful to have the possibility to mount a docker volume with the custom fonts i need and have them automatically available in LOOL. AFAIK it needs a rescan command after adding new fonts (?)
Comment 1 Marco Marinello 2020-05-14 17:00:24 UTC
Worked a bit on this, the following seems to be working:

- copy your fonts to /usr/share/fonts/lool (make sure not to make subdirectories);
- run fc-cache -fv;
- mount /usr/share/fonts/lool in read-only to /usr/share/fonts/lool and /opt/lool/systemplate/usr/share/fonts/lool of the container.

Need to better document this.