aboutsummaryrefslogtreecommitdiff
path: root/editors/zed/files/patch-crates_gpui_src_text__system.rs
blob: b99ea3b0793a046d5427880fde21ef0ceb8fd72d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- crates/gpui/src/text_system.rs.orig	2025-11-15 06:24:54 UTC
+++ crates/gpui/src/text_system.rs
@@ -44,7 +44,7 @@ pub(crate) const SUBPIXEL_VARIANTS_Y: u8 =
 pub(crate) const SUBPIXEL_VARIANTS_X: u8 = 4;
 
 pub(crate) const SUBPIXEL_VARIANTS_Y: u8 =
-    if cfg!(target_os = "windows") || cfg!(target_os = "linux") {
+    if cfg!(target_os = "windows") || cfg!(target_os = "linux") || cfg!(target_os = "freebsd") {
         1
     } else {
         SUBPIXEL_VARIANTS_X