Compare glyphs in two layers

How to compare glyphs in two layers for deviation?