Cache font-missing result to avoid unnecessary lookups (#4245)

This fixes the performance problem we saw in
https://github.com/zed-industries/community/issues/2405.

In a trace we could see that if a font is missing we'd constantly look
it up and never cache that it's missing.

This changes that and does cache the font-is-missing result.

Drawback is that one would need to restart Zed after installing a
missing font that was configured in settings. That seems acceptable for
now, though.

Release Notes:

- Improved rendering performance when configured fonts are missing on
the system.
e01850642fThorsten Ball committed on 1/24/2024, 10:07:11 AM· committed by GitHubparentsbd6197e4800991
1 file changedLine totals unavailable