2

Recently the nixos fira-code package added both the otf and ttf fonts and Emacs/Spacemacs isn't quite happy with the ttf ones.

How could I tell spacemacs to prefer OTF over TTF when both are available for the same typeface / font?

TTF: enter image description here

OTF(*): enter image description here

(*) This only works because the system default font is Fira Code Retina and it just happens to be what I want. However it is not because of writing it there.

  • 1
    The TTF case indicates either a bug in the font or a bug in Emacs (or the underlying font-handling libraries it uses), so please report this as a bug! – Stefan Sep 24 '19 at 13:40
  • Gedit / other applications in my system behave correctly so should the bug report be filled with Emacs or Spacemacs? – Fabián H. jr. Sep 24 '19 at 13:54
  • 1
    It seems unlikely that this problem can be linked to a faulty config, so it's likely on the Emacs side, but in any case it should be very easy to try and reproduce the bug in Emacs beforehand to be sure. – Stefan Sep 24 '19 at 15:13
  • Thanks for the help, will do that when I get home. – Fabián H. jr. Sep 24 '19 at 15:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.