zed/crates
Marshall Bowers e4aa7ba4f2
Try to load fallback fonts instead of panicking when a font is not found (#3891)
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.
2024-01-04 14:10:46 -05:00
..
activity_indicator Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
ai Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
assistant Re-enable key bindings for AssistantPanel 2024-01-04 16:37:13 +01:00
audio Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
auto_update Fix version comparison in auto update 2024-01-04 09:53:57 -08:00
breadcrumbs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
call Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
channel Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
cli Code to allow opening zed:/channel/1234 2023-10-05 14:57:45 -07:00
client Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
clock Remove local timestamps from CRDT operations 2023-08-31 16:23:06 -07:00
collab collab 0.33.0 2024-01-03 17:20:01 -05:00
collab_ui channels: Move name of the channel to the same line as the hash icon. 2024-01-04 12:11:23 +01:00
collections Use FxHashMap and FxHashSet in hot code paths 2023-12-12 13:35:22 +01:00
command_palette Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
copilot Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
copilot_button Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
db Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
diagnostics Add "Checking" icon for diagnostics 2024-01-03 23:07:21 -05:00
editor Try to load fallback fonts instead of panicking when a font is not found (#3891) 2024-01-04 14:10:46 -05:00
feature_flags Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
feedback Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
file_finder Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
fs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
git Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
go_to_line Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
gpui Try to load fallback fonts instead of panicking when a font is not found (#3891) 2024-01-04 14:10:46 -05:00
gpui_macros Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
install_cli Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
journal Restore timestamp insertion for journal: new journal entry (#3870) 2024-01-03 18:09:55 -05:00
language lsp: Do not cache initialization options 2024-01-04 19:54:58 +01:00
language_selector Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
language_tools Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
live_kit_client Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
live_kit_server Fix notifications for membership changes too 2023-10-19 23:05:06 -06:00
lsp Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
media Start fixing up gpui2 2024-01-02 00:04:51 +01:00
menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
multi_buffer Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
node_runtime Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
notifications Rename notification_store 2024-01-03 20:02:23 -05:00
outline Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
picker Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
plugin 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_macros Fix typos 2023-06-02 22:02:19 -04:00
plugin_runtime Bump Rust to 1.75 (#3815) 2023-12-28 19:22:43 +01:00
prettier Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
project lsp: Do not cache initialization options 2024-01-04 19:54:58 +01:00
project_panel Implement "open in terminal" 2024-01-04 09:45:39 -07:00
project_symbols Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
quick_action_bar Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
recent_projects Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
refineable Another batch of fixups 2024-01-02 00:24:11 +01:00
rich_text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rope Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rpc Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
search Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
semantic_index Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
settings Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez sqlez 2024-01-01 23:56:04 +01:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
story Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
storybook Remove 2 suffix from gpui_macros, fix compile errors in tests 2024-01-03 13:12:21 -08:00
sum_tree chore: fix clippy lints for rope2, sum_tree, text2 and util 2024-01-01 23:50:14 +01:00
terminal Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
terminal_view Try to load fallback fonts instead of panicking when a font is not found (#3891) 2024-01-04 14:10:46 -05:00
text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
theme Update border variant color 2024-01-03 23:13:26 -05:00
theme_importer Update border variant color 2024-01-03 23:13:26 -05:00
theme_selector Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
ui Show pointer hand on tab & give last tab border right 2024-01-04 11:08:56 -05:00
util Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vcs_menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vim Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
welcome Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
workspace Fix quitting Zed when project was unshared 2024-01-04 15:00:36 +01:00
zed Fix quitting Zed when project was unshared 2024-01-04 15:00:36 +01:00
zed_actions Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00