tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: I wrote a little graphics thing
On Mon, 8 Jun 2026, Michael wrote:
[...]
That being said, I updated the tarball:
[...]
- added a few more fonts to try out ( and make sure my drawing routines
handle more than 8 pixels wide )
Nice, but it looks like on little-endian machines a bswap() is reqd.:
```
157 g = (uint16_t *)WSFONT_GLYPH(c, font);
158 for (i = 0; i < font->fontheight - 2; i++) {
159 l = *g; <--- HERE
160 CHAR_LINE32(0x8000);
161 }
```
to use the Gallant (and Bold 16x32) glyph data.
BTW, there's a similar project on Linux (I have it working on NetBSD with
some hackish patches.)
https://github.com/aligrudi/fbpad
On Mon, 8 Jun 2026, Mouse wrote:
Why not just use old X...not for your purposes, but for the "X with a
bunch of terminals" use case?
Or, x11/tinyx-wscons:
https://pkgsrc.se/x11/tinyx-wscons
(can't set kbd rate with xset(1), though.)
-RVP
Home |
Main Index |
Thread Index |
Old Index