Extract glyph referenced inside entries

Now all the reference elements used by the current transformations are
used.

This is the final step to close #8.