pklaus / brother_ql_web

A Python-based web service to print labels on Brother QL label printers. Based on brother_ql: https://github.com/pklaus/brother_ql
GNU General Public License v3.0
254 stars 124 forks source link

How to run on windows? #34

Open Abhi0725 opened 3 years ago

Abhi0725 commented 3 years ago

I am trying to run this on windows and getting error on font_helpers.py file method get_fonts(). Seems like fc-scan is working only on Linux?

FriedrichFroebel commented 9 months ago

As documented inside the README, the fontconfig package is required for the package to work, so you will have to provide this package or at least the corresponding binary inside your $PATH. It seems like Anaconda (https://anaconda.org/anaconda/fontconfig) provides corresponding binaries, although I have not tested them.