Merge "Improved error handling when font loading fails."