Font cursor too large in some apps

I have some problems with my script. I did them and exporting, all is okay. But when I open Photoshop or Illustrator, and choose my typeface, the cursor is very large. I check the Metrics sizes, and all is okay. The visual letter size is okay too, but cursor is really bigger than font size. What’s wrong? Thanks in advance.

This has been covered before in the forum. One of your glyphs probably has a small path very far below the baseline. There are scripts in Georg’s and my repositories that will help you find the culprit.