as it so often is, it's time to do crimes against typography with pixel fonts

I need to copy a font off my windows 98 machine to my Raspberry Pi's framebuffer application.

obviously the way to do this is to just render out every character the font supports to bitmaps and then import those as spritesheet

based on file metadata, I've been trying to do this since April, and I think every time I've opened a text editor to write the simple python script I need, someone has messaged me on discord

fine I'll close discord and just be offline for an hour

and someone walks into my bedroom asking about help finding a cable

okay I generated it

and the part from April is wrong, and I need to fix it on Windows 98. DAMN IT

I'm glad Pillow now has .get_flattened_data to match .getdata, especially since neither of them do what I want, and have never done what I want

future foone:

it's Image.tobytes() that you want

okay I have the font imported and a very simple (no wrapping or newline handling) text engine:
THIS IS THE WRONG FONT (SIZE)
I've extracted MS Sans Serif 10 point. I need MS Sans Serif 8 point.
every day is a good day to pull out Visual C++ 6.0!
@foone I am soooo not gonna miss 800x600 displays. or 1024x600...
@whitequark god yeah. I like being able to see more than a couple lines of my code

@foone @whitequark When doing some Apple II retrocomputing a year or two ago, I was reminded how essential a *printer* was back in the day, to be able to get a look at code in larger chunks than a 40x25 or 80x25 screen at a time.

I printed a lot of the Hack source on an Epson pinfeed dot matrix printer... what a way to learn C and (simple) data structures...

@swetland @foone i didn't have a printer so i just kinda suffered?
@whitequark @foone If it makes you feel better, cheap dot matrix printers were a mixed blessing at best. Noisy, slow, prone to mis-feeding and jamming...
@swetland @foone oh, the sounds are absolutely burned into my memory (tbh I kind of miss them)
@swetland @whitequark @foone
Okidata Microline 590.
Never jammed.