|
|
|
|
|
by vintagedave
94 days ago
|
|
The C file is small enough to read (over a few minutes.) I got to about line 5 and realized: I’ve never seen quite that technique for embedding a font via an autogenerated header before. I’m more used to Windows resources; this seems to generate a byte array in CMake code. I’m somewhere between horrified and impressed, in that I feel we’ve finally discovered a cross platform binary resource embedding solution. |
|
I ran it against a 1x1 pixel GIF:
And got this: