Better opentype detection solution