Fixes for opentype.js