Adding font programmatically

Previous topic - Next topic

Erhard

Hello, 
I run Scribus headless  in a docker container under Ubuntu. I execute py files. 
Scribus sees only the fonts in the container but I can mount directories from outside into the container. How can I tell Scribus to use a font-dir via command line or via the py code and not via the UI ?

Health and Peace

Erhard

sbordag

I know this thread is old, but I would really like to know how to run scribus headless in a docker/server scenario.

Regarding the OT question: I think the solution is to install the fonts in the docker image, just like one does for any other program that needs fonts (aka put them into the corresponding system folder depending on the base image used.)