2

I want to render pdf just like the old presses used to do in past. The impression differs from document to document due to varying force applied to the dye.

Suppose we try to apply the same effect in a pdf. Meaning the edges of the glyph will receive a random noise which will be seeded in the preamble of the document by LaTeX and while writing the characters will be morphed accordingly.

Can we define something in LaTeX? I think such an effect could be realised using tikz but I don't want to write documents using tikz.


Now to the second part of the question: \phi and \varphi produce different appearances for phi. My question is how can we define app1, app2, ... for a given character (or character sequence) in TeX.

If you think this question is related to the development of fonts please provide some hints about how to achieve it (although modifying a font file is not exactly what I am interested in at least for the first part).

5

1 Answer 1

9

enter image description here

enter image description here

Needs luatex

\documentclass{article}



\providecommand\ttbasefont{texgyreTermes-regular.otf}
\providecommand\ttoverprintnormal{0}% don't over-print
\providecommand\ttrotatenormal{2} % don't rotate so much
\providecommand\ttgreynormala{.5} % increase greylevel variablity

\usepackage{typewriter}

\begin{document}

I am willing to render pdf just like the old presses used to do in
past. The impression differs from document to document due to varying
force applied to the dye.

Suppose we try to apply the same effect in a pdf. Meaning the edges of
the glyph will recieve a random noise which will be seeded inthe
preamble of the document by LaTeX and while writing the characters
will be morphed accordingly.

Can we define something in LaTeX?
\end{document}
6
  • 1
    Hmm, this retains the glyph shape though. I guess OP wants that the glyph borders get somewhat roughened. Commented Jun 12 at 17:19
  • Interesting. Why is the space in effect in apparently lost?
    – cfr
    Commented Jun 12 at 17:26
  • @cfr I don't think it is, the ine is quite tight so the space is small and especially in the first run, the random variation made it smaller still Commented Jun 12 at 17:51
  • @ApoorvPotnis people don't always get what they ask for:-) Commented Jun 12 at 18:58
  • 1
    @DebanjanDutta tex.stackexchange.com/q/161920/128462 Commented Jun 12 at 21:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .