Author Topic: Adding font programmatically  (Read 835 times)

Erhard

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
  • Scribus User
Adding font programmatically
« on: July 07, 2022, 04: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

sbordag

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Re: Adding font programmatically
« Reply #1 on: January 10, 2023, 04: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.)

 

palmate