@whtrbt Oh. I'd love to use this with #btprnt, my 1-bit graphics library: https://git.sr.ht/~pbatch/btprnt
I'm no typography connoisseur... my needs are pretty minimal. I want to be able to rasterize TTF fonts so that I can convert them to the macintosh bitmap font format. From there, I can use them in my macintosh font renderer I built for my 1-bit graphics library #btprnt.
Some initial attempts to get #libschrift to render #pixel fonts in the TrueType format.
Hoping to use this to generate fonts in the macintosh #bitmap font format so I can use it with my macfont font renderer I wrote for #btprnt.
#btprnt #bitmap #pixel #libschrift
Okay, this could be actually horrible, but I managed to embed dynamically generated #btprnt images into html documents via my #weewiki engine:
btprnt draws something to a buffer
buffer gets converted to an RGB buffer
RGB buffer gets converted to in-memory PNG via lodepng.
PNG gets converted to base64.
base64 gets inserted into HTML.
All this happens inside of a native #Janet plugin, which can be called inside of janet code inside of weewiki markup (which looks an awful lot like #org
Hoping this will be helpful as I begin to wrangle up some organically grown free-range documentation for #monolith.
#monolith #org #janet #weewiki #btprnt
Created a reference card for my #trig rhythm computer using #btprnt, and my #macintosh font renderer. The file is procedurally generated using the #janet scripting language.
#janet #macintosh #btprnt #trig
My #macintosh font renderer in #btprnt can now render things in a textbox, with automatic word breaks.
The machine, now visualized using my #btprnt 1-bit graphics library.
The program here consists of 3 64-bit words.
The first word writes the pattern "10".
The second pattern writes the pattern "1011".
The third pattern loops it back to the beginning.
As a result, the output is a repeating sequence of "101011101011101011..."
Got some initial glyph rendering happening using #btprnt.
All worth it to see Susan Kane's 'M'.
Working on an ANSI C bitmap font renderer for classic macintosh fonts. Finally got a glyph to print to terminal and it feels great. Eventually this will be rendered via my #btprnt monochrome bitmap interface.
Lots of shameless copy + paste work from this Objective-C project here: https://github.com/bzotto/ClassicMacTypography
My 1-bit drawing library (#btprnt) can now copy buffers onto my RGB pixel art interface in #monolith as if it were a stencil or stamp. Nice to connect two efforts together.
All I have to show for it is a boring test picture, featuring colors from the #vinik24 color palette. Hopefully more things will come out of this.
Can't sleep, so I decided to implement a waveform display for audio files using #btprnt, my 1-bit graphics library I've been working on. Quite pleased with the results!
Some rudimentary integer-based text scaling added. It's not really rich formatted text... just textboxes with hand-calculated positions. #btprnt #grook #bitmap #monochrome
#btprnt #grook #bitmap #monochrome