I too would like to be able to beam abstract concepts directly into my brain, I get what you mean... Slogging through all the words is THE #1 pain for me.
You implement specs just like I do - by passive-aggressively ignoring them. But jokes aside, I love your channel and the projects you do. Keep up the good work!
Fonts are one of those things that you go like: "ahit is just some text in a screen that is probably easy as fuck, we discovered how to do this like in the 90s" and then you regret everything you said
Well they discovered how to do that in the '70s (output was to printers before then). The crazy shit started to appear at the start of the '90s but most people ignored most of it until... emoji!
The impossible task, at least for me, has been achieving subpixel-perfect rendering through hinting. There are so many subpixel layouts, and while standards like EDID (DDDB) exist to access the layout, not all manufacturers include them. This makes it nearly infeasible to support every layout unless the user manually specifies the subpixel geometry or uses grayscale antialiasing.
i swear to god font files are a mess. ttf, otf, woff, and woff2, all of them are a pain in the ass. i'm working on a font manager, and trying to get all data from the font files is just painful.
here is a "fun" fact: the PDF standard has still not been updated with support for continously variable fonts, and a bunch of those have been shipping with Windows/Office since like 2018... I found out the hard way myself, also there is a bug in Adobe Acrobat (a bug in Adobe software? shocking, I know...) where PDFs with custom fonts embedded as vector graphics are not rendered correctly (which is the only workaround for the standard not getting updated).
2:02:00 unless I'm missing something that was a difference of 100, not 0. Another victim of doing live math. Weird for "A" to be so far out but it also is in the glyph table somehow.
Oh my god you're right. I've been double checking my work and keep getting that exact same value with different methods, so it seems likely to be correct. I just thought it was wrong because I thought 100 == 0 Thank you for the shout
me: please tell me how to parse your file format
also me: k but don't use words to do it
If you need words any old LLM can do that.
I too would like to be able to beam abstract concepts directly into my brain, I get what you mean... Slogging through all the words is THE #1 pain for me.
You implement specs just like I do - by passive-aggressively ignoring them.
But jokes aside, I love your channel and the projects you do. Keep up the good work!
Fonts are one of those things that you go like: "ahit is just some text in a screen that is probably easy as fuck, we discovered how to do this like in the 90s" and then you regret everything you said
Well they discovered how to do that in the '70s (output was to printers before then). The crazy shit started to appear at the start of the '90s but most people ignored most of it until... emoji!
The impossible task, at least for me, has been achieving subpixel-perfect rendering through hinting. There are so many subpixel layouts, and while standards like EDID (DDDB) exist to access the layout, not all manufacturers include them. This makes it nearly infeasible to support every layout unless the user manually specifies the subpixel geometry or uses grayscale antialiasing.
off topic but just wanna say I love having your videos on as background noise for while I program, they are oddly very motivational lol
Sebastion lague made a video on this a little bit ago, it was a very interesting topic. Never realized how much goes into the rendering of fonts
zig's reader has functions to read values with a given endianness instead of doing bigToNative
Oh reader.readStructEndian does seem a lot like what I want
By coincidence I just found a project somebody made that implements a disassembler for an 8-bit CPU as a font using all these crazy font rules!
That sounds pretty sick, I've seen another one where a guy bakes an LLM into one
i swear to god font files are a mess. ttf, otf, woff, and woff2, all of them are a pain in the ass.
i'm working on a font manager, and trying to get all data from the font files is just painful.
here is a "fun" fact: the PDF standard has still not been updated with support for continously variable fonts, and a bunch of those have been shipping with Windows/Office since like 2018...
I found out the hard way myself, also there is a bug in Adobe Acrobat (a bug in Adobe software? shocking, I know...) where PDFs with custom fonts embedded as vector graphics are not rendered correctly (which is the only workaround for the standard not getting updated).
Also "Ubuntu" font supremacy.
2:02:00 unless I'm missing something that was a difference of 100, not 0. Another victim of doing live math.
Weird for "A" to be so far out but it also is in the glyph table somehow.
Oh my god you're right. I've been double checking my work and keep getting that exact same value with different methods, so it seems likely to be correct. I just thought it was wrong because I thought 100 == 0
Thank you for the shout
As someone who watched a dense 2 hour documentary on how font rendering works. I wish you luck, it fucking sucks lol
You got the name of the doc, sounds interesting
Could be Sebastian Lague's video on Rendering Text. It's a great video. It could be called "edge cases: the movie".
@@aspzx ahh yeah watched that one before, really enjoyed it
First