Hagen - Pragma ADE
Hagen - Pragma ADE
Hagen - Pragma ADE
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
88<br />
Features<br />
}<br />
},<br />
When defining the font at the T E X end we can now refer to for instance wide_all which<br />
saves us some typing. However, it does not stop here. In a later paragraph we will see<br />
how fonts can work in tandem with the parbuilder. For that purpose the goodie table<br />
has a solutions subtable:<br />
solutions = {<br />
experimental = {<br />
less = {<br />
"shrink"<br />
},<br />
more = {<br />
"minimal_stretching", "medium_stretching", "maximal_stretching", "wide_all"<br />
},<br />
},<br />
}<br />
Here we define an experimental solution for optimizing the lines in a paragraph: we<br />
can narrow words or we can widen them according to a specific featureset. In order to<br />
reach the optimal solution the text will be retypeset under a different feature regime.<br />
Because there are a some 55 stylistic and 21 justification variants the goodie file<br />
also provides a stylistics table and for tracing purposes the colorschemes table is<br />
populated.<br />
Yet another demonstration of manipulation is the following. Not all fonts come with all<br />
combined glyphs. Although we have an auto-compose feature in ConT E Xt it sometimes<br />
helps to be specific with respect to some combinations. This is where the compositions<br />
goodie kicks in:<br />
local compose = {<br />
[0x1E02] = {<br />
anchored = "top",<br />
},<br />
[0x1E04] = {<br />
anchored = "bottom",<br />
},<br />
[0x0042] = { -- B<br />
anchors = {<br />
top = {<br />
x = 300,<br />
y = 700,<br />
},<br />
bottom = {<br />
x = 300,<br />
y = -30,