update
This commit is contained in:
parent
2c2dcd65f1
commit
15c7a6ce31
|
@ -30,7 +30,8 @@ test:
|
|||
- convert -trim -flip bdf.tga $@
|
||||
- rm bdf.tga
|
||||
./bmf2bdf -u -p -x 0 -y 0 -l 127 $< > $*-p.bdf
|
||||
- ../bdfconv/bdfconv -f 1 -v -m '32-10000' $*-p.bdf -n $*-p -d ../bdf/7x14.bdf -a -t
|
||||
# strange: glyph 255 does not work
|
||||
- ../bdfconv/bdfconv -f 1 -v -m '32-10000,~255' $*-p.bdf -n $*-p -d ../bdf/7x14.bdf -a -t
|
||||
- convert -trim -flip bdf.tga $*-p.png
|
||||
- rm bdf.tga
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
- Convert monospaced proportional font back to none-monospaced font (-p)
|
||||
- Optional glyph spacing with -x
|
||||
- Optional baseline adjustment with -y
|
||||
- Generated BDF can be edited with gbdfed and probably with any other BDF editor
|
||||
- Generated BDF can be modified with gbdfed and FontForge
|
||||
(http://sofia.nmsu.edu/~mleisher/Software/gbdfed/, https://github.com/andrewshadura/gbdfed)
|
||||
|
||||
Example:
|
||||
|
@ -48,6 +48,8 @@
|
|||
or
|
||||
bmf2bdf -p -x 1 -y -2 goth16.bmf
|
||||
|
||||
|
||||
|
||||
|
||||
*/
|
||||
#include <stdio.h>
|
||||
|
@ -58,7 +60,7 @@
|
|||
/* http://bmf.php5.cz/index.php?page=format */
|
||||
|
||||
|
||||
uint8_t threshold = 128; // gray level threshold
|
||||
//uint8_t threshold = 128; // gray level threshold
|
||||
|
||||
FILE *bdf_fp = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue