fontconvert rs
1.0.0
이것은 https://github.com/mean00/fontconvert.git의 Rust 버전입니다. https://github.com/charles-haynes/fontconvert의 포크 인 Adafruit Font Convert Tool의 포크입니다.
TrueType-to-adadefruit 글꼴 파일 도구입니다.
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는 함께 사용해서는 안됩니다