At the Libre Graphics Meeting in Montreal I was asked by someone from Scribus (and I can't recall who any longer) to write a tool for checking that a font was valid (didn't have any intersecting contours, had points at the extrema, etc.) I have now written this tool, called fontlint. It is part of the current release of fontforge. http://fontforge.sf.net/