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:
Simon Forman
2023-02-28 06:53:31 -08:00
parent 58f779c430
commit 144e73ebc3
3 changed files with 18259 additions and 5922 deletions
+4 -2
View File
@@ -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