Fix issue in commit 091bc28019fa3eae8ea55d978a03384f277eff1f for hack on private font variants