Post #1399046
2025-12-19 22:43 UTC
@nicksherman @gdc @ANRT
Other example, but the justification in our demo also uses the variable font xtra axis. We stop the “widening” if there’s no more potential. But before we also try “narrowing” the line until we can force a new line break or we are out of potential.
Also, the demo does much more than only justification, like layout, detail typography etc.
I gave an ATypI online tech presentation in 2022:
The demo is here: https://graphicore.github.io/varla-varfo/explorations/wikipedia/Typography/firefox_save_page_as/Typography%20-%20Wikipedia.html
The presentation is here, it’s boring but I explain all the details: https://youtu.be/5c2esX3M_rg?si=1l2kjuREyHvDxar_
Replies (1)
-
@rajeesh@typo.social 2025-12-22 07:12
@graphicore @nicksherman @gdc @ANRT I am told by a TeXpert that similar effect is achived by the ‘ragged2e’ LaTeX package. Quoting him: “This package helps to configure the \rightskip (which is 0pt in justified text) to a new value with glue, e.g., 1em plus .5em minus .25em or whatever. We do use this package in our phone PDFs to format the text with tolerable raggedness of the right margin.” The package documentation is at http://mirrors.ctan.org/macros/latex/contrib/ragged2e/ragged2e.pdf