1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
alacritty/alacritty_config_derive
Chris Copeland 2a676dfad8
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.
2022-07-15 21:56:26 +00:00
..
src Fix thin strokes on macOS 2022-07-15 21:56:26 +00:00
tests Fix thin strokes on macOS 2022-07-15 21:56:26 +00:00
Cargo.toml Bump copypasta to 0.8.0 2022-06-16 18:36:27 +03:00
LICENSE-APACHE Replace serde's derive with custom proc macro 2020-12-21 02:44:38 +00:00
LICENSE-MIT Replace serde's derive with custom proc macro 2020-12-21 02:44:38 +00:00