summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorChris Copeland <chris@chrisnc.net>2022-07-15 14:56:26 -0700
committerGitHub <noreply@github.com>2022-07-15 21:56:26 +0000
commit2a676dfad837d1784ed0911d314bc263804ef4ef (patch)
treef5ab5069dd71fc6c73c8d3f4dd5d409b5b37523a /Cargo.lock
parent40bbdce6de8775b7bbc3f9a5731337d1dd05d195 (diff)
downloadalacritty-2a676dfad837d1784ed0911d314bc263804ef4ef.tar.gz
alacritty-2a676dfad837d1784ed0911d314bc263804ef4ef.zip
Fix thin strokes on macOS
Remove the `font.use_thin_strokes` config, which only did anything on macOS and only prior to Big Sur. Instead, we will enable or disable "font smoothing" on macOS based on the `AppleFontSmoothing` user default. These changes let users get the "thin strokes" behavior by setting `AppleFontSmoothing` to 0 with: ```sh $ defaults write -g AppleFontSmoothing -int 0 ``` (Or replace `-g` with `org.alacritty` to apply this setting only to Alacritty.app, rather than the whole system.) Add a `removed` config attribute to show helpful warnings to users who are using config options that don't do anything anymore, and apply this attribute to `font.use_thin_strokes`. Bump `crossfont` to 0.5.0 to pick up the new font smoothing behavior. This release also includes a fix for a crash when trying to load a disabled font. Fixes #4616. Fixes #6108.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock6
1 files changed, 4 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1f579348..a25d5129 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -383,9 +383,9 @@ dependencies = [
[[package]]
name = "crossfont"
-version = "0.3.2"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1299695a4c6417b7e4a6957bd963478406e148b7b0351e2f2ce31296b0518251"
+checksum = "f66b1c1979c4362323f03ab6bf7fb522902bfc418e0c37319ab347f9561d980f"
dependencies = [
"cocoa",
"core-foundation 0.9.3",
@@ -397,6 +397,8 @@ dependencies = [
"freetype-rs",
"libc",
"log",
+ "objc",
+ "once_cell",
"pkg-config",
"servo-fontconfig",
"winapi 0.3.9",