0

I'm using sublime text 3 on windows 10 and Ubuntu.

When I use sublime text 3 on Ubuntu, letters and brackets (and all the other special characters) are kind of misaligned.


Windows 10:

Windows 10

Ubuntu:

Ubuntu


While this is not a huge issue, it sometimes confuses me. Because of that weird positioning, hyphens and under-bars are indistinguishable. I've google searched about this issue but couldn't find any solution. Please help me to fix this.

Enteleform
  • 3,753
  • 1
  • 15
  • 30
Amx 1375
  • 1
  • 3

2 Answers2

1

Try using a different font.

You can do this by adding:
"font_face": "New Font Goes Here",
to your User Preferences.

Community
  • 1
  • 1
Enteleform
  • 3,753
  • 1
  • 15
  • 30
1

Enteleform's answer is correct, you should change your font. I'd recommend installing the fonts-liberation package by running

sudo apt-get install fonts-liberation

and using

"font_face": "Liberation Mono"

in your User preferences. I've been using it for years, and I love it. It was designed so that each character is unambiguous, meaning you can easily tell the difference between 0 and O, l and 1, etc. Here's a screenshot:

Liberation Mono

To keep things consistent, you can also download the Liberation TTF font files here for Windows. Decompress the archive, then right-click on each TTF file and select the "Install Font" option.

Community
  • 1
  • 1
MattDMo
  • 100,794
  • 21
  • 241
  • 231