How to fix font size in alacritty?

Solution 1:

This problem is now reported as an issue at the alacritty repository. In general alacritty seems to have many issues with font sizes across different systems.

However, in trying to identify the cause I found that with the -vv flag alacritty always starts the terminal with a font size exactly the double of that in the config file.

So for now it is possible to work around this issue by setting up the font size at half of the desired in the config file. For instance, to obtain a font size of 14:

# Font configuration
font:
  
  [...]

  # Point size
  size: 7.0

And then start alacritty with the -vv flag:

$ alacritty -vv