Live data from Hacker News

Modern text rendering with Linux: Part 1

mrandri19.github.io

1–10 of 25 posts

Re: Modern text rendering with Linux: Part 1

#3
Nice, I've subscribed to the RSS feed. A little weird to see such old software versions being used in an article with 'modern' in its title, but I suppose you have to pick a point that's 'modern enough' to have something the majority of people can follow along with when they're all running old software too.

I wish it covered error handling a bit more than just 'exit(EXIT_FAILURE)'. FreeType must have some sort of error code or error message function.

But that's all just minor nitpicking. I like the simple and direct walkthrough of the FreeType API (and promising to include friends from the ecosystem in the future). I hope the blog series will continue!

Re: Modern text rendering with Linux: Part 1

#4

Can’t wait to hear about Linux’s gamma corrected antialiasing in future posts (or lack thereof).

I agree that it's an interesting topic. On reddit one of the authors of dear imgui has some interesting thought on it: https://www.reddit.com/r/programming/comments/cfxltf/modern_...

Re: Modern text rendering with Linux: Part 1

#5
post #3

Nice, I've subscribed to the RSS feed. A little weird to see such old software versions being used in an article with 'modern' in its title, but I suppose you have to pick a point that's 'modern enough' to have something the majority of people can follow along with when they're all running old software too. I wish it covered error handling a bit more than just 'exit(EXIT_FAILURE)'. FreeType must have some sort of err…

Thanks :) I've used what was available on the latest ubuntu lts. FreeType functions return 0 (FT_Err_Ok) on success or a specific value for each function, but yes I agree that error handling could be better, maybe at the expense of terseness.

Re: Modern text rendering with Linux: Part 1

#10
post #9

What makes this approach "modern"? What is this approach the alternative to? As someone broadly unfamiliar with text rendering it's not clear to me. An introduction to these points would be very helpful

It's part 1, so I would hope the author plans to move on from the basics here into more modern techniques (things like subpixel anti-aliasing, ligatures, etc).
Post reply on HN