Mac os font loading fix