29.05.2014 Views

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

k a el--rie am, ld p n th re, l ak ehin<br />

aic w n.<br />

obeying rules<br />

When we were testing node based feature support, the only way to check this was to<br />

identify the rules that lead to certain glyphs. <strong>The</strong> more unique glyphs are good candidates<br />

for this. For instance<br />

• there is s special glyph representingc/o<br />

• in the input stream this is the character sequence c/o<br />

• so there most be a rule that tells us that this sequence becomes that ligature<br />

As said, in this case, the replacement glyph is supposed to be a ligature and indeed there<br />

is such a ligature: c_slash_o. Of course, this replacement will only take place when the<br />

sequence is surrounded by spaces.<br />

However, when testing this, we were not looking at this rule but at the (randomly chosen)<br />

rule that was meant to intercept the alternative h.2 followed by z.4. Interesting was that<br />

this resolved to a ligature indeed, but the shape associated with this ligature was an h,<br />

which is not right. Actually, a few more <strong>of</strong> such rules turned out to be wrong. It took a bit<br />

<strong>of</strong> an effort to reach this conclusion because <strong>of</strong> the mentioned interferences <strong>of</strong> features<br />

and rules. At that time, the rule entry (in raw LuaTEX table format) looks as follows:<br />

[44] = {<br />

["format"] = "coverage",<br />

["rules"] = {<br />

[1] = {<br />

["coverage"] = {<br />

["ncovers"] = {<br />

[1] = "h.2",<br />

[2] = "z.4",<br />

}<br />

},<br />

["lookups"] = {<br />

[1] = {<br />

["lookup_tag"] = "L084",<br />

["seq"] = 0,<br />

}<br />

}<br />

90 Zapng fonts

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

Saved successfully!

Ooh no, something went wrong!