News for hackers. Stuff that matters.
Re:Beej's Guide to Unix IPC (2015) by kragen on Thursday January 06, 2022 @09:52PM (#29834191)
In Dercuano, Derctuo, and Dernocua, I was able to get what I thought was pretty reasonable formatting for 80-column code even on a cellphone screen in a PDF with the lmtlc font, which, despite the abbreviation, is called Latin Modern Mono Condensed Light; it's an extended version of Computer Modern Mono Condensed Light with some Unicode coverage. I wrote a little about this at https://news.ycombinator.com/item?id=21946327, and Dernocua is at http://canonical.org/~kragen/dernocua among other places if you want to see how it worked out.

I'm reasonably pleased with the Dercuano formatting, though some people hate it; it doesn't work very well on a laptop screen, but on a cellphone screen I think it's close to optimal, except where it's just broken. It's probably passable on a small ereader but would be painful on a large one, except maybe in landscape facing-pages mode. (I hacked together the HTML renderer to generate the PDF in a few days, and I didn't implement, for example, table layout; and when it has to fall back to a glyph that isn't in lmtlc, it screws up the column widths.)

I think I've said this before, but I really appreciate Beej's Socket Guide! Thank you for writing it!

Re:Beej's Guide to Unix IPC (2015) by kragen on Friday January 07, 2022 @02:19PM (#29843487)
*an extended version of Computer Modern Teletype Condensed Light