fix custom font issue