mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-14 02:43:19 +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 |