Pythonity / icon-font-to-png

Python script (and library) for exporting icons from icon fonts (e.g. Font Awesome, Octicons) as PNG images
https://pythonity.github.io/icon-font-to-png/
MIT License
208 stars 35 forks source link

How-to query for Windows #13

Open RefShah opened 6 years ago

RefShah commented 6 years ago

Hello, python and github novice here, so pardon me if this is out of order here.

on windows with anaconda, how does one run the following example: icon-font-to-png --css font-awesome.css --ttf fontawesome-webfont.ttf --list

above has a shell prompt, so i presume is for linux

what i have done on windows are as follows:

Kindly advise please. TIA

Jeremy-Yan-Liu commented 6 years ago

I have the same problem as you. I've tried to add environment variable like icon-font-to-png, but it still doesn't work. Such a novice I am.

pigbayspy commented 5 years ago

You can try add "python" before the command, but when I run "python .\icon-font-to-png --download font-awesome", it throw a TimeoutError

fishtrees commented 2 years ago

try this (replace <you user dir> with your real windows username): python C:\Users\<you user dir>\AppData\Local\Programs\Python\Python39\Scripts\icon-font-to-png