Is there a way to simulate imperfections of some of the older books in LaTeX? Like the missing pieces of letters, extra splotches of ink and such?
Here is an interesting artifact:
P.S.: I guess one way would be to get an old printer haha :-0
Well, I finally got a chance to look over my font library for fonts that might fit your description as "defective" and "old". This may not be exactly what you are looking for, because these are particular fonts, rather than defects in a font which you, the user, specify. Nonetheless, here they are.
The best example of general use has got to be Dominican, one of my favorite fonts:
Another is Butterbrotpapier, notice the descended "b" for example:
Similar aged fonts exist for blackletter:
There are also fonts that exhibit defect, but are specialized, and probably not of general use, such as these:
I also have a number of older fonts that are not defective in their construction, but are from a bygone era. I'll post only one here, as a good example...Caslon Antique.
This answer is to the question of how to dirty up an existing font, rather than using a pre-aged font. First, you need to get a few good inkblots such as
Then, you need code that underlays these blots below the text, while varying which blot to underlay, how large to draw the blot, and where relative to the letter to spill the ink. The coding is such to make sure the blot doesn't screw up the letter kerning (via
In this revision, I have also added
So we have:
The result is
The top line shows black blots underlaid, while the bottom line shows white overlays added.
Obviously, the shape and library of blots is a key parameter, and mine is limited to two, for example purposes only. I imagine ones would look better if they didn't look like spills, but rather stray imprints. Further, one doesn't want to throw them around gratuitously as I did in the MWE.
I will leave it to others to figure out how to randomly throw these about a document, rather than explicitly lay them in, as I have.