zed/crates/gpui
Piotr Osiewicz a1049546a2 gpui: Validate font contents at load time.
During layout of EditorElement we use 'm' character from current font to calculate sizes, panicking with fonts that do not have that character (e.g. Arabic fonts). It's not really EditorElement's fault, as it assumes that the font it's dealing with is gonna have that character available.
To prevent a crash, I added validation while loading a family that a given font contains the glyphs we're gonna use down the line.
2024-01-11 23:23:10 +01:00
..
docs Remove some todo!'s 2024-01-09 11:36:36 +02:00
src gpui: Validate font contents at load time. 2024-01-11 23:23:10 +01:00
tests Remove some todo!'s 2024-01-09 11:36:36 +02:00
build.rs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
Cargo.toml gpui: Remove dependency on sqlez (#3871) 2024-01-05 19:36:55 +01:00