Click here to Skip to main content
16,004,686 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I'm a bit overwhelmed Pin
megaadam15-Aug-24 3:22
professionalmegaadam15-Aug-24 3:22 
GeneralRe: I'm a bit overwhelmed Pin
Gary Wheeler15-Aug-24 7:22
Gary Wheeler15-Aug-24 7:22 
GeneralRe: I'm a bit overwhelmed Pin
honey the codewitch15-Aug-24 9:29
mvahoney the codewitch15-Aug-24 9:29 
GeneralRe: I'm a bit overwhelmed Pin
Gary Wheeler16-Aug-24 0:12
Gary Wheeler16-Aug-24 0:12 
GeneralI have spent most of this morning trying to add a reference to a VS solution. Pin
OriginalGriff13-Aug-24 1:30
mveOriginalGriff13-Aug-24 1:30 
GeneralRe: I have spent most of this morning trying to add a reference to a VS solution. Pin
BernardIE531713-Aug-24 1:36
BernardIE531713-Aug-24 1:36 
GeneralRe: I have spent most of this morning trying to add a reference to a VS solution. Pin
RickZeeland13-Aug-24 2:45
mveRickZeeland13-Aug-24 2:45 
GeneralEmbedded and legacy rabbit holes Pin
honey the codewitch12-Aug-24 21:12
mvahoney the codewitch12-Aug-24 21:12 
A neat thing about embedded is that everything old is new again. I'll explain:

I grew up coding 8 and 16-bit machines. I often had 64KB of RAM, and 1-2MHz of CPU grunt. You had to get creative to do anything with it at all. Embedded is - while not quite as constrained typically (although in some cases, even more constrained), and in any case still pretty limited.

Ergo, old technologies can get a new lease on life because they were designed for systems with relatively anemic hardware.

Enter Windows 3.1 raster font files.

These little monsters are useful to me because there really isn't a common file format for non-antialiased raster fonts.

There are some one-offs, but they're not file formats but rather, in memory, or in flash formats, which is a bit different. While they can be written to a file, the only time you see them in files is C header and implementation files.

.FON files are as good as it gets in that arena, as far as I can tell, so I support them in my embedded graphics library.

Did you know .FONs are essentially renamed .DLLs? In either PE or NE format, and they're stored as an embedded resource. Parsing that is fun! Dead | X|

It's a weird format besides. The pixels are laid out vertically rather than horizontally, for example.

Anyway, this isn't the only time I've rehabilitated old tech for embedded, but it's one of the weirder ones.

I found python code for parsing the font files, which I had to teach myself enough of to port it to C++.

mkwinfont/python/dewinfont.py at master · juanitogan/mkwinfont · GitHub[^]
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

GeneralRe: Embedded and legacy rabbit holes Pin
pkfox12-Aug-24 21:49
professionalpkfox12-Aug-24 21:49 
GeneralRe: Embedded and legacy rabbit holes Pin
honey the codewitch12-Aug-24 22:03
mvahoney the codewitch12-Aug-24 22:03 
GeneralRe: Embedded and legacy rabbit holes Pin
englebart14-Aug-24 15:56
professionalenglebart14-Aug-24 15:56 
GeneralRe: Embedded and legacy rabbit holes Pin
honey the codewitch14-Aug-24 15:57
mvahoney the codewitch14-Aug-24 15:57 
GeneralWordle 1,151 Pin
Shane010312-Aug-24 17:57
Shane010312-Aug-24 17:57 
GeneralRe: Wordle 1,151 Pin
GKP199212-Aug-24 18:52
professionalGKP199212-Aug-24 18:52 
GeneralRe: Wordle 1,151 Pin
OriginalGriff12-Aug-24 19:05
mveOriginalGriff12-Aug-24 19:05 
GeneralRe: Wordle 1,151 - 3 4 me Pin
pkfox12-Aug-24 20:34
professionalpkfox12-Aug-24 20:34 
GeneralRe: Wordle 1,151 - 3 4 me Pin
ChandraRam12-Aug-24 23:14
ChandraRam12-Aug-24 23:14 
GeneralRe: Wordle 1,151 - 3 4 me Pin
pkfox13-Aug-24 0:49
professionalpkfox13-Aug-24 0:49 
GeneralRe: Wordle 1,151 - 3 4 me Pin
ChandraRam13-Aug-24 2:30
ChandraRam13-Aug-24 2:30 
GeneralRe: Wordle 1,151 - 5/6 Pin
ChandraRam12-Aug-24 20:43
ChandraRam12-Aug-24 20:43 
GeneralRe: Wordle 1,151 Pin
StarNamer@work12-Aug-24 22:13
professionalStarNamer@work12-Aug-24 22:13 
GeneralRe: Wordle 1,151 Pin
Cp-Coder13-Aug-24 1:20
Cp-Coder13-Aug-24 1:20 
GeneralRe: Wordle 1,151 Pin
Sander Rossel13-Aug-24 4:37
professionalSander Rossel13-Aug-24 4:37 
GeneralRe: Wordle 1,151 Pin
PJ Arends13-Aug-24 4:46
professionalPJ Arends13-Aug-24 4:46 
GeneralDevelopment oddity Pin
Mike Hankey12-Aug-24 11:57
mveMike Hankey12-Aug-24 11:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.