Mac os custom font loading fix