Kitty: disable anti-aliasing

Created on 9 Mar 2018  路  14Comments  路  Source: kovidgoyal/kitty

i dunno how but kitty manages to escape this in my fonts.conf:

    <match target="font">
        <edit name="antialias" mode="assign">
            <bool>false</bool>
        </edit>
    </match>

as a result, fonts are blur. any idea?

All 14 comments

IIRC kitty does not respect that setting. kitty does not support bitmapped fonts and with scalable fonts antialiasing is required. That said, I wont refuse a PR to add support for that setting, but given that IMO non-antialiased scalable fonts look awful, it's not something I am going to spend time on.

perhaps this should be kept open with a PR's are welcome tag or something.

I dont want to actually want to encourage people to implement this :) As I said, I wont refuse it, but I dont actually think it is a good idea.

would you accept PR for supporting bitmap fonts?

No, bitmap fonts dont work with kitty's design (which calls for arbitrary, changeable font sizes). Bitmap fonts only work if you are willing to restrict what font sizes you allow.

And your point is? I never said everyone agreed with me, that is why I am willing to accept a PR for respecting the setting. And FYI kitty does not do subpixel aliasing.

Yes, that is anti-aliasing. Anti-aliasing is different from subpixel anti-aliasing. Kitty does the former and does not do the latter.

Would you be opposed to a PR that added an option to toggles this setting?

See my comment at the bottom of #963. You may also want to read #214.

Oh, sorry, I thought you meant sub-pixel anti aliasing, my bad. I don't know if @kovidgoyal would want an option to toggle anti-aliasing, we'll have to wait for his answer.

I already said I am fine with an option for turning off anti-aliasing.

Bumping this thread. Anyone working on a PR for this feature?

Microsoft TTF fonts look fine without anti-aliasing.

bug still exists in 0.17.2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

reed-jones picture reed-jones  路  4Comments

jasminabasurita picture jasminabasurita  路  3Comments

mihaicristiantanase picture mihaicristiantanase  路  3Comments

lazarcf picture lazarcf  路  4Comments

JJGO picture JJGO  路  3Comments