13.07.2013 Views

Hagen - Pragma ADE

Hagen - Pragma ADE

Hagen - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

30<br />

Modes<br />

glyph 256<br />

font 42: U+00074: t<br />

glyph 256<br />

font 42: U+00065: e<br />

glyph 256<br />

font 42: U+00073: s<br />

glyph 256<br />

font 42: U+00074: t<br />

userskip<br />

1.9072 - 0.9536 + 0.6357<br />

glyph 256<br />

font 42: U+00042: B<br />

glyph 256<br />

font 42: U+0004C: L<br />

glyph 256<br />

font 42: U+00041: A<br />

glyph 256<br />

font 42: U+00074: t<br />

glyph 256<br />

font 42: U+00065: e<br />

glyph 256<br />

font 42: U+00073: s<br />

glyph 256<br />

font 42: U+00074: t<br />

Figure 2.2 The text ‘test BLAtest’<br />

converted to nodes.<br />

In addition to hyphenation and kerning we can have ligatures. The list in figure 2.4<br />

shows that we get a reference to a ligature in the glyph node but that the components<br />

are still known. This figure also demonstrates that the ligature is build in steps.<br />

A.10 If we insert an explicit \discretionary command, we see in figure 2.5 that we get<br />

three variants. In figure 2.6 we render some Dutch words and these have quite some<br />

ligatures.<br />

So, we have hyphenation, ligature building and kerning and to some extent these<br />

mechanisms hook into each other. This process is driven by information stored in the<br />

font and rules related to the language. The hyphenation happens first, so the builder<br />

just sees discretionary nodes and needs to act properly on them. Although languages<br />

play an important role in formatting the text, for the moment we can forget about that.<br />

This leaves the font.<br />

As we already mentioned in a previous chapter, in ConT E Xt we use Unicode internally.<br />

This also means that fonts are organized this way. By default the glyph representation<br />

of a Unicode character sits in the same slot in the glyph table. All additional glyphs, like

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!