Live data from Hacker News

I Created 175 Fonts Using Rust

chevyray.dev

11–20 of 117 posts

Re: I Created 175 Fonts Using Rust

#11

This is neat! And cool to hear this made a financial difference for them. Gah, I remember the name Chevy Ray from indie games, but I cannot put my finger on what this person made… would have been like 2010 to 2012? In the same vein as VVVVVV or nidhogg or canabalt as I recall

Ikenfell

Re: I Created 175 Fonts Using Rust

#13
These look absolutely delightful! A quick question: I'm working on retro consoles, and so I need fonts where each glyph is a multiple of 8px wide for easy display on tile-based backgrounds. Are the sizes (in pixels) of your font packs listed anywhere?

Re: I Created 175 Fonts Using Rust

#14
post #3

Interesting how easy it is to make an operation like this run on multiple cores in Rust. Inserting a single call into a chain of functions can be enough.

It's not really unique to Rust. Scala and Java both support this out of the box.

Re: I Created 175 Fonts Using Rust

#15

These look absolutely delightful! A quick question: I'm working on retro consoles, and so I need fonts where each glyph is a multiple of 8px wide for easy display on tile-based backgrounds. Are the sizes (in pixels) of your font packs listed anywhere?

16. Or an integer multiple of that like 32 or 64. It's in the Step 5: Exporting section

Edit: that's the height, the width is not fixed/I think it varies with the exact font and the kerning. It's probably too big for you anyways.

Re: I Created 175 Fonts Using Rust

#16
post #14
post #3

Interesting how easy it is to make an operation like this run on multiple cores in Rust. Inserting a single call into a chain of functions can be enough.

It's not really unique to Rust. Scala and Java both support this out of the box.

Yeah, but in Rust it’s far less likely to explode in your face.

Re: I Created 175 Fonts Using Rust

#17
This is really excellent work, and a great write-up. I think it would definitely be possible to speed up a lot of the algorithms with some tricks. Replacing hashmaps with bitmaps and byte-index arrays for character painting and ascii-to-variants seems like a lead, based on what I've read. Of course, that doesn't really matter for this code since it's already fast enough.

Re: I Created 175 Fonts Using Rust

#18

These look absolutely delightful! A quick question: I'm working on retro consoles, and so I need fonts where each glyph is a multiple of 8px wide for easy display on tile-based backgrounds. Are the sizes (in pixels) of your font packs listed anywhere?

The example tile sheet in the article appears to be 8 pixels wide by my count. Count the width in pixels on the "m" and if it's 7 the font will likely work for you.

Re: I Created 175 Fonts Using Rust

#19
post #14
post #3

Interesting how easy it is to make an operation like this run on multiple cores in Rust. Inserting a single call into a chain of functions can be enough.

It's not really unique to Rust. Scala and Java both support this out of the box.

The stronger guarantees/performance fall out of the stronger lifetime/ownership model, combined with errors around ambiguous/invalid lifetimes being a compiler error.

In other languages those violations are things you have to run a race detector and actually evoke the condition to find, or you abandon fine grained/tracked ownership and use garbage collection.

Re: I Created 175 Fonts Using Rust

#20
What an amazing accomplishment! Bravo.

I find typography resists my attempts to wrap my head around it, because even though I can do basic analysis like serif vs sans serif, I get a sort of brain fog when it comes to telling fonts apart or intuiting which fonts to use in different situations.

It's really hard to wrap my head around the idea that one person could make 175 fonts and that they would each be meaningfully different from each other. Like, how does one not accidentally recreate the same font?

Post reply on HN