Resolve font deprecation warning