diff --git a/crates/panel/src/panel.rs b/crates/panel/src/panel.rs index 6aa4d85a38..aecde61e2d 100644 --- a/crates/panel/src/panel.rs +++ b/crates/panel/src/panel.rs @@ -84,9 +84,10 @@ pub fn panel_editor_style(monospace: bool, window: &Window, cx: &App) -> EditorS let font_size = TextSize::Small.rems(cx).to_pixels(window.rem_size()); - let (font_family, font_features, font_weight, line_height) = if monospace { + let (font_family, font_fallbacks, font_features, font_weight, line_height) = if monospace { ( settings.buffer_font.family.clone(), + settings.buffer_font.fallbacks.clone(), settings.buffer_font.features.clone(), settings.buffer_font.weight, font_size * settings.buffer_line_height.value(), @@ -94,6 +95,7 @@ pub fn panel_editor_style(monospace: bool, window: &Window, cx: &App) -> EditorS } else { ( settings.ui_font.family.clone(), + settings.ui_font.fallbacks.clone(), settings.ui_font.features.clone(), settings.ui_font.weight, window.line_height(), @@ -106,6 +108,7 @@ pub fn panel_editor_style(monospace: bool, window: &Window, cx: &App) -> EditorS text: TextStyle { color: cx.theme().colors().text, font_family, + font_fallbacks, font_features, font_size: TextSize::Small.rems(cx).into(), font_weight,