Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font rendering on macOS (too bold, blurry) #7333

Closed
loliee opened this issue Oct 30, 2023 · 3 comments
Closed

Font rendering on macOS (too bold, blurry) #7333

loliee opened this issue Oct 30, 2023 · 3 comments

Comments

@loliee
Copy link

loliee commented Oct 30, 2023

I have some trouble to setup a correct font rendering like the one I have on Iterm2.

Here some screenshots

Alacritty left / Iterm2 right:

alacritty-iterm2

Iterm2 top / Alacritty bottom:

iterm2-alacritty

It's always too bold and blurry…

I tried to change my macOS setup with:

defaults -currentHost write -g AppleFontSmoothing -int 4

Without success…

Is there something I missed about macOS font config?
Is there a chance that #957 will fix that?

System

OS: macOS (Sonoma, Retina display 15,4-inch (2880 × 1800))
Version: alacritty --version output

Logs

Crashes: STDERR, STDOUT
Font/Terminal size: alacritty -vv

~/Applications/Alacritty.app/Contents/MacOS/alacritty -vv
Created log file at "/var/folders/lx/_6tk9zvd7zs5wbl_hq5k_1t40000gn/T/Alacritty-1508.log"
[0.000010178s] [INFO ] [alacritty] Welcome to Alacritty
[0.000272076s] [INFO ] [alacritty] Version 0.12.3 (5efb069)
[0.000927154s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/Users/mloliee/.alacritty.yml"
[0.001326468s] [DEBUG] [alacritty] Using environment locale: en_US.UTF-8
2023-10-30 09:31:18.917 alacritty[1508:18810] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
[0.023595830s] [INFO ] [alacritty] Using Apple CGL
[0.066453922s] [INFO ] [alacritty] Window scale factor: 2
[0.068517661s] [DEBUG] [alacritty] Loading "Iosevka Nerd Font" font
[0.147148344s] [INFO ] [alacritty] Running on AMD Radeon Pro 560X OpenGL Engine
[0.147198112s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.153091707s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.171771400s] [INFO ] [alacritty] Cell size: 14 x 35
[0.171835720s] [INFO ] [alacritty] Padding: 14 x 22
[0.171853474s] [INFO ] [alacritty] Width: 3360, Height: 1934
[0.173836965s] [INFO ] [alacritty] PTY dimensions: 54 x 238
[0.176877782s] [INFO ] [alacritty] Initialisation complete
[0.197418410s] [DEBUG] [alacritty_terminal] Term::resize dimensions unchanged
@kchibisov
Copy link
Member

defaults -currentHost write -g AppleFontSmoothing -int 0

@loliee
Copy link
Author

loliee commented Oct 30, 2023

Thanks you, may be the only value I didn't test… 😅

Good bye iTerm2 !

@loliee loliee closed this as completed Oct 30, 2023
@edmondburnett
Copy link

On Big Sur, the following worked for me to disable the font smoothing in alacritty only (instead of the global Macos GUI):

defaults write org.alacritty AppleFontSmoothing -int 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants