Scribus Forums

Scribus => Scripts and Plugins => Topic started by: Erhard on July 07, 2022, 03:18:30 PM

Title: Adding font programmatically
Post by: Erhard on July 07, 2022, 03:18:30 PM
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
Title: Re: Adding font programmatically
Post by: sbordag on January 10, 2023, 03:20:32 PM
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.)