Ran into a bunch of issues when trying to export a font where it looked like the letter spacing and line height / bounding box were all messed up:

Finally figured it out that the setting options.unitsPerEm = 1000 regardless of the font's UPM solved the issue:

This is Merriweather Sans with a UPM of 2048, but exported at 1000.
Also, the blinking cursor seems to be the right height, but the selection area seems to be too small:

I'm on Windows, I tried this out in PowerPoint, Word, and Adobe Illustrator.