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
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
future foone:
it's Image.tobytes() that you want
oh no, I need unicode support
in windows 98
I need unicows
oh here's some info on how to use it:
and look, it was written by the late Michael Kaplan.
ugh except this is ALMOST right.
The problem is: this is XP's MS Sans Serif, not Windows 98's.
Yeah they changed it a lot, mainly adding a bunch more characters for better language support.
okay so the function call that I need that's missing from Windows 98 is called GetFontUnicodeRanges.
And the MSDN docs on my visual studio 6.0 discs does talk about it, but this is neat: it's a preliminary doc!
@foone I ran into this when making an SVG of California's “this product contains cannabis” symbol. The state's website had it as PNG, JPEG, and PDF, and the PDF used a particular font for the exclamation point. And only the Vista version has the *right* exclamation point.
https://commons.wikimedia.org/wiki/File:California_cannabis_universal_symbol.svg#filehistory
@MarekKnapek whoops, fixed. Thanks!
Interesting. I only need this code to run on Win9x, so I don't need two copies: I just need better unicode support if I'm gonna have it run on win98, since I need some unicode APIs
@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...
I love that you can kinda sorta see the pathway from this to modern Visual Studio