Firacode: Backslashes became very hard to see (almost invisible)

Created on 23 Mar 2018  ·  12Comments  ·  Source: tonsky/FiraCode

After I upgraded to 1.205, all backslashes in my code became very hard to spot. Basically, this:

auto msg = "Test\nFoo bar.\n";

looks more like this:

auto msg = "Test nFoo bar. n";

The backslashes are very faint and of the wrong color. This is a problem only when using a black background with light text (which is what I use in my IDE, which is Qt Creator.)

For comparison, this is with DejaVu:

1

It has good visibility. But with Fira Code it's hard to read:

2

stylistic sets

Most helpful comment

:cry:

All 12 comments

This is an intentional change (see the changelog, third bullet point)

How do I prevent it? This makes the font unusable for me :-/

I plan to change how it works in the next version. For now you can use previous font version (1.204)

For what it's worth, I really like the new thin backslash, and it doesn't look bad at all in my editor.

screen shot 2018-04-04 at 4 42 51 pm

I think that a lot depends on whether your editor highlights escape codes (in which case the thin backslash is good) or not

Yep, the thin backslash is hard to read in Python as well.

:cry:

Would it be possible to bring this back for just \\? It makes sequences of slashes much easier to read.

Maybe—please create a separate issue for that

⏩ #720

Very sad this was removed, I really liked seeing an escaping backslash thin, showing that it is an escape sequence. :-(

Could this be a stylistic set @tonsky?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tomByrer picture tomByrer  ·  4Comments

aolko picture aolko  ·  3Comments

hatched picture hatched  ·  3Comments

ulope picture ulope  ·  4Comments

whatisaphone picture whatisaphone  ·  3Comments