[Python] check system if font exists python (OS agnostic)

Discussão em 'Python' iniciado por Stack, Dezembro 21, 2024.

  1. Stack

    Stack Membro Participativo

    I have seen a few answers regarding how to retrieve the font list via different modules, such at matlab, or Tkinter, but I don't want to include a huge library like those to solve my current problem of just retrieving this list.

    Background: I am working on an html to pdf system, and it runs on both OSX and ubuntu servers, so the answer can't be just a single os implementation

    TL;DR: are there any light modules/libraries in python that will allow me to retrieve the list of existing fonts on the hosting server?

    Continue reading...

Compartilhe esta Página