News for hackers. Stuff that matters.
Re:A 17th-century font in a 21st-century thesis by GMoromisato on Thursday July 20, 2023 @10:18PM (#36809277)
What I wish for is rather than encoding the wavy imperfections in the font, they should be procedurally generated at rasterization time. This way, the graininess can stay at the same resolution regardless of the font-size. As it is now, if you have a 120pt font, the rough edges are magnified.

Is there a way to specify something like that in the font language? Or does the rasterization engine have to implement that?

Re:A 17th-century font in a 21st-century thesis by ilya_m on Thursday July 20, 2023 @10:33PM (#36809368)
Anything procedurally generated is antithetical to professional font design. Fonts at different sizes are carefully fine-tuned exactly for the reasons that you mentioned, i.e., small features at larger sizes start looking wrong.
Re:A 17th-century font in a 21st-century thesis by imd on Friday July 21, 2023 @01:55AM (#36810452)
In this case, the digitized font is taken not from the metal types themselves, but from specimens printed on paper. The paper was less uniform and smooth than modern paper, and there was a noticable amount of ink bleed. Since OP is interested in the "character" given to the letterforms by this era of printing technology, it makes sense to suggest some way of simulating this uneven bleed and spread.
Re:A 17th-century font in a 21st-century thesis by rob74 on Friday July 21, 2023 @02:58AM (#36810804)
Usually, yes, but this font tries to reproduce the imperfections of text printed centuries ago (or, to quote the article, "look badass with its kinks and nicks"), so having two glyphs of the same type look exactly identical feels a bit jarring. Same as with other "rough" fonts which try to emulate stencils, handwriting etc. All of these would benefit from some randomness...
Re:A 17th-century font in a 21st-century thesis by bryanrasmussen on Friday July 21, 2023 @03:58AM (#36811221)
so how do SVG fonts handle this? Or do they?

on edit: asking as you probably have in depth technical knowledge on this it would be nice to get some pointers on.

Re:A 17th-century font in a 21st-century thesis by drones on Friday July 21, 2023 @03:09AM (#36810865)
I was already writing a comment about procedural generation before I saw yours. I was thinking about placing shapes on the boundary of a basic character shape, and placing random points within those shapes which then have lines/splines drawn between them. You could change the size of the shape depending on how much you want the shape to vary. That way you can still exercise control over what specific features are preserved. I'm sure someone can come up with something better.
Re:A 17th-century font in a 21st-century thesis by layer8 on Friday July 21, 2023 @07:52AM (#36812759)
I wonder what the impact on energy expenditure would be for a widely used font.
Re:A 17th-century font in a 21st-century thesis by kps on Friday July 21, 2023 @08:23AM (#36812985)
There used to be. In ‘Type 3’ fonts, each glyph is defined by a Postscript routine. They were not supported by any of the major display systems (Windows, Mac, X). Maybe NeWS or NeXT did; I don't know.
Re:A 17th-century font in a 21st-century thesis by WorldMaker on Friday July 21, 2023 @01:13PM (#36816541)
Yeah, I was idly wondering if it might be fun to try rendering fonts through a basic physics simulation of inks and paper types. It would probably be wasteful to do most of the time in font rendering, but it might be fun to try when doing things like rendering final slides or PDFs (that are themselves not intended to be sent to printers, because that would be silly).