News for hackers. Stuff that matters.
Re:Show HN: My self-written hobby OS is finally running on m... by o11c on Saturday April 26, 2025 @01:55PM (#43805704)
Supporting variable-width fonts is pretty easy on its own (if bit-packing, you might wish to store them vertically), but does complicate combining characters (remember, they go in different places and may need to make the new character larger).

For vector fonts, the interesting question is "if I render this at a different resolution and then scale it, will it line up?" which fundamentally has no answer that can satisfy everyone. Most other difficulties are merely a Small Matter of Coding (and providing appropriate APIs).

Re:Show HN: My self-written hobby OS is finally running on m... by joexbayer on Saturday April 26, 2025 @01:59PM (#43805742)
Thanks for the info! Will have to look more into.
Re:Show HN: My self-written hobby OS is finally running on m... by peterfirefly on Sunday April 27, 2025 @05:35PM (#43815324)
The old Macs had some beautiful bitmapped variable-width fonts -- and a relatively simple font file format.