BUG:516204, handle font-loading-failures more gracefully.

Sometimes the font doesn't load, and then there's a mismatch in font and length sizes, causing a crash. We try to make sure these values are the same, log an error when the font cannot be loaded, and try to use a previous or fallback font when a font cannot be loaded.

There's still a possible error state where no fallback font can be loaded, but then there's bigger problems going on, and I suspect the user then also cannot render any UI elements.

BUG:516204

Merge request reports

Loading