mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 13:44:03 +03:00
e4aa7ba4f2
This PR adjusts our font resolution code to attempt to use a fallback font if the specified font cannot be found. Right now our fallback font stack is `Zed Mono`, followed by `Helvetica` (in practice we should always be able to resolve `Zed Mono` since we bundle it with the app). In the future we'll want to surface the ability to set the fallback font stack from GPUI consumers, and potentially even support specifying font stacks in the user settings (as opposed to a single font family). Release Notes: - Fixed a panic when trying to load a font that could not be found. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |