font: support alternative glyphs in gpos rules
font: prefer rules appearing first in the font
font: allocate rule->pats from the heap
font: enable or disable ligatures and kerning in font_layout()