How to filter glyphs based on Y value


I’m trying to figure out if there’s an easy way to figure out which glyphs fall above or underneath a certain Y value. This would be useful for catching any accented characters that are too tall, for example. Is there an easy way to do this?


This should be easy enough to script.

Alternatively, Rainer has something that would get you that information in a round-about way (or that you could use as a guide for writing something):