git clone https://github.com/hmgle/gendotmatrix.git
cd gendotmatrix
sudo python setup.py install
Usage:
gendotmatrix.py --help
example:
gendotmatrix.py -o ubuntu-c.font -s "32x32" "/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-C.ttf"
gendotmatrix.py 中的代码不难,大家可以打开修改(根据自己的需要改)