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 Python 3 and required Python 3 packages:
sudo apt-get install gir1.2-pango-1.0 python3-gi-cairo
-
Install CC Icons font
mkdir -p ~/.fonts ln -sf ${PWD}/www/cc-icons.ttf ~/.fonts/
Execute with Python 3:
python3 scripts/genicons.py
This will generate the icons in the directory www/i
directory.
- The icons contained within this repository are for use under the Creative Commons Trademark Policy (see Policies - Creative Commons).
- The icons are not licensed under a Creative Commons license (also see Could I use a CC license to share my logo or trademark? - Frequently Asked Questions - Creative Commons).