top | item 41351829

Show HN: Z80 Sans

65 points| 0d0a | 1 year ago |github.com

13 comments

order

hyperhello|1 year ago

"A recursive descent parser is used to generate all possible glyphs, which helps with evaluating expressions in encodings (e.g. SET b,(IX+o) takes a bit and a displacement, encoded as expression DD CB o C6+8*b). These encodings were then expanded to all possible values that operands can take, before finally associating 1 or more hexadecimal bytes to each disassembly glyph required to render an expanded instruction."

That's just evil! Great job!

1GZ0|1 year ago

Every day I'm amazed at what OpenType fonts can do on their own. Material Design icons font, fonts with built-in syntax highlighting and now this.

rbanffy|1 year ago

I am equally amazed and horrified. Fonts shouldn't do that. ;-)

tambourine_man|1 year ago

Makes you think if they’re perhaps too powerful

Confirm2754|1 year ago

So evil, so evil! You discovered the programmability of fonts themselves!

yoavm|1 year ago

cool work! but please use a video instead of a gif in the readme... it's so frustrating not being able to pause, go back, etc.