Fix OpenType fonts with cmap tables on Windows

Task-number: QTBUG-31656