1

I'm setting up the Fira Code font/ligatures on Emacs 26 for Windows, according to the guide at https://github.com/tonsky/FiraCode/wiki/Emacs-instructions#using-font-lock-keywords.

It creates the ligatures, but they are all shifted back. I'm guessing it's shifted one space per character in the ligature.

I tested using the text:

int test()
{
    ptr->field = (a == b) ? 1 : 2;

}

https://www.website.com

screenshot

1

How do I correct this?

vimuth
  • 5,064
  • 33
  • 79
  • 116
Matt
  • 25
  • 4
  • Please post the code as text not an image. – toyota Supra Aug 17 '22 at 09:05
  • 1
    I did. The image is to show how it appears on the screen. – Matt Aug 18 '22 at 10:23
  • Edit your post. Scroll down to the bottom to remove image. – toyota Supra Aug 18 '22 at 10:51
  • 2
    I just want to reassure you that you've asked a good question, and I wish I had an answer. My personal preference with editing code, though, is to steer clear of anything but fixed-pitch, serif typefaces. Having a predictable grid of characters is something I find helpful when navigating. – user888379 Aug 18 '22 at 19:14

0 Answers0