chiark / gitweb /
Add rough support for generating BDF without FontForge
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 31 Oct 2024 23:34:18 +0000 (23:34 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 10 Nov 2024 09:29:29 +0000 (09:29 +0000)
commit46a5c058853b8cd6c964c5d21ee88424e8e3bc4f
treee04e2161c5562d089710a807c5f3416d2dc0ed4c
parentc2e45853f703551924e17f6be1194ed026fcbd17
Add rough support for generating BDF without FontForge

This is extremely silly, but it's actually quite functional and
surprisingly compact.  bedstead.c gains the ability to generate a
PostScript file that emits a BDF file rendering each glyph into an image
and then dumping the image in hex.

I still need to get the font metadata right, which is my main reason for
wanting to get away from FontForge, but that shouldn't be difficult.
And the Makefile needs to be updated to make this work properly.  But
the bitmaps are coming out correctly.
bedstead.c