Jetbrainsmono: Is there a reason for `|` is diagonally a bit?

Created on 21 Feb 2020  Â·  7Comments  Â·  Source: JetBrains/JetBrainsMono

Hi! I'm one of the JetBrainsMono's fan.
This font is soooooooo cool. Thanks to all contributors.

Btw, I have a question.
I notice that | is diagonally a bit.
I want to know the reason!!

Thanks.

Most helpful comment

@tyankatsu0105 Glad to hear thats everything works for you! I will close this issue because the problem is solved.

All 7 comments

@tyankatsu0105 Hi, glad to hear that you like the font. Can you send me the screenshot with |?

@philippnurullin
Sure! Here you are.
スクリーンショット 2020-02-21 16 32 32

I use JetBrainsMono-Regular with VSCode.
To be honest, I don't know typeface very much.
So, could you teach me if I just don't know about it?

@tyankatsu0105 It's hart to tell because there is not much context but it looks like the | is set in Italic. Please send a bigger image with some code, i will be able to understand the context better.

@philippnurullin
Oh, I understand! What I saw is italic font, right?
Umm... If this is caused by editor, I can't change settings...
Anyway, I able to know that finally. Thanks!

@tyankatsu0105 _To be sure that this is Italic i need to see the bigger chunk of code_. But il looks like it is.

@philippnurullin
I just checked my editor's settings!

STEP 1

Write a code. Example:

const foo = 'a' || 'b';

STEP 2

Open Command Palette.
Then, input this:

>Developer Inspect Editor Tokens and Scopes

STEP 3

Hover || on const foo = 'a' || 'b';
スクリーンショット 2020-02-25 9 20 14

As you said, the font style is italic!!!
So, I changed settings.

"editor.tokenColorCustomizations": {
      "textMateRules": [
        {
          "scope": [
            "keyword.operator.logical"
          ],
          "settings": {
            "fontStyle": ""
          }
        }
      ]
    }

Finally, I get what I want :)
スクリーンショット 2020-02-25 9 38 54

@tyankatsu0105 Glad to hear thats everything works for you! I will close this issue because the problem is solved.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vi-k picture vi-k  Â·  4Comments

RosaWagner picture RosaWagner  Â·  3Comments

nuhkoca picture nuhkoca  Â·  5Comments

j0hnmeow picture j0hnmeow  Â·  4Comments

khasbilegt picture khasbilegt  Â·  3Comments