fontconvert rs
1.0.0
這是https://github.com/mean00/fontconvert.git的生鏽版本,它是https://github.com/charles-haynes/fontcontervert的叉子,這是Adafruit字體的叉子。
它是一種truetype-dadafruit字體文件工具。
它可以輸出c/c ++ .h文件或生鏽常數文件。
這增加了每個像素支持的壓縮,炭選擇和1/2/4位(對於更平滑的字體)。
USAGE:
flatconvert-rs [OPTIONS] --font <FONT> --output-file <OUTPUT_FILE> --size <SIZE>
OPTIONS:
-b, --begin <BEGIN> Ascii value of the first char to render [default: 32]
-c, --compression compression
-e, --end <END> Ascii value of the last char to render [default: 127]
-f, --font <FONT> Path to the font to use
-h, --help Print help information
-k, --pick <PICK> String to pick individual chars i.e. -k "abcd" will only
render a,b,c,d [default: ]
-m, --bitmap-file <BITMAP_FILE> bitmap file [default: ]
-o, --output-file <OUTPUT_FILE> output file (C header)
-r, --output-file-rs <OUTPUT_FILE_RS> output file (rust header)
-p, --bpp <BPP> bpp (1= B&W, 2=4 levels of grey, 4 = 16 levels of grey)
[default: 1]
-s, --size <SIZE> Size of the font to render
-V, --version Print version information
NB:-K和-b/-e不應一起使用