Creative Commons badges, license Buttons, etc. (https://licensebuttons.net/).
This is a script to generate Creative Commons icon badges in png format in a
variety of color schemes. These icons can then be served by a web server. It is
located at scripts/genicons.py
.
-
Assuming the repository is on Debian
-
Install required packages:
sudo apt-get install python-cairo python-gtk2
-
Install CC Icons font
mkdir -p ~/.fonts ln -sf ${PWD}/www/cc-icons.ttf ~/.fonts/
python genicons.py
This will generate the icons in the directory www/i
directory.