The resulting output always has a UnitsPerEm of 1000. The bug is in copyFont().
The resulting output always has a UnitsPerEm of 1000.
The bug is in copyFont().