News for hackers. Stuff that matters.
Re:A fast, low-latency, open-hardware e-paper monitor and de... by swinglock on Tuesday August 12, 2025 @05:38AM (#44874230)
I don't require it myself but that's a concern, it's nice to have. Maybe someone can build an editor that uses different fonts within one file instead of different colors. Could be something out there for color blind folks already, though seeing no colors at all is unusual. But e-ink has grayscales so you could at least make comments a bit lighter, I think I'd be happy with that.
Re:A fast, low-latency, open-hardware e-paper monitor and de... by balou23 on Tuesday August 12, 2025 @06:11AM (#44874407)
There's plenty of options available. A coworker of mine used to print out code for reviews. You can use italic, bold and underline as alternative to colors. Grayscale might work nicely for eInk too - for laser printers just thin/regular/bold probably works better.

Other fonts... I could see myself being distracted by changing fonts in a document, except maybe for comment blocks. But for those italic/thin seems to work well already.

Tried to find the tool... it's GNU enscript. Syntax highlighting for several languages, outputs to postscript.

Re:A fast, low-latency, open-hardware e-paper monitor and de... by swinglock on Tuesday August 12, 2025 @06:17AM (#44874434)
I like your idea better.
Re:A fast, low-latency, open-hardware e-paper monitor and de... by alex-a-soto on Tuesday August 12, 2025 @11:11AM (#44877270)
I didn’t know about GNU Enscript, going to check it out. Thanks!
Re:A fast, low-latency, open-hardware e-paper monitor and de... by OJFord on Tuesday August 12, 2025 @06:12AM (#44874412)
I'd do 3 greys, from lightest to darkest: comments, syntactical cruft like braces, semicolons, certain keywords, etc., and then 'actual' code, variable names and so on.

Much more variation than that with 256 colours is mostly just making it pretty rather than offering helpful distinction imo.