A different font.
It's easy enough to substitute a different font in the call to Imagemagick's `convert` tool, but in the case of pixel fonts, it will scale them, so you're not getting a proper bitmap of the pixels, you're getting a kind of screenshot of the pixels. I want to make a different machinery for bitmapped pixel fonts, and I want to make a simple DEFINE-based way to pick them without having to edit your source code, e.g. #define font_data font_PublicPixel_22_data yeah? After that, simple affine transforms for fake 3D..
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
|
||||
FONT=Inconsolata
|
||||
#FONT=Inconsolata
|
||||
FONT=Public-Pixel
|
||||
FFFONT=PublicPixel
|
||||
POINTSIZE=22
|
||||
FILL=white
|
||||
|
||||
@@ -20,7 +22,7 @@ all: font.h
|
||||
|
||||
|
||||
font.h: $(BMPS) convert.py GNUmakefile
|
||||
python ./convert.py $(FONT) $(POINTSIZE) > font.h
|
||||
python ./convert.py $(FFFONT) $(POINTSIZE) > font.h
|
||||
|
||||
$(TXTS): make_txt_files.py GNUmakefile
|
||||
python ./make_txt_files.py
|
||||
|
||||
Reference in New Issue
Block a user