mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-17 13:42:49 +00:00
If you live in the terminal, kitty is made for you! Cross-platform, fast, feature-rich, GPU based.
https://sw.kovidgoyal.net/kitty/
A glyph whose bitmap is wider than its cell is rendered again at a smaller font size so that it fits, unless it is wider by no more than two pixels, in which case it is cropped. That allowance is absolute, so it covers less of the cell as the cell grows, and fonts with glyphs that overhang their advance by design end up on the wrong side of it: the texture healing alternates of Monaspace and 0xProto, or the d with caron of Cascadia Code. Such a glyph is drawn visibly smaller than its neighbors, at one font size and not at the next. Make the allowance proportional to the cell width: 2/9 of the cell, which is the 2px the rule was originally tuned for at the 9px cell of a typical monospace font at 11pt and 96 dpi, with a minimum of 2px for smaller cells. That keeps the widest Monaspace alternate, 14% wider than its cell, at full size. A glyph that overhangs by more, such as a Greek capital whose breathing mark and accent hang well outside the cell, is still rescaled, since cropping would remove the marks. Closes #10879 |
||
|---|---|---|
| .github | ||
| 3rdparty | ||
| bypy | ||
| docs | ||
| gen | ||
| glad | ||
| glfw | ||
| kittens | ||
| kitty | ||
| kitty_tests | ||
| logo | ||
| shell-integration | ||
| terminfo | ||
| tools | ||
| .clang-format | ||
| .clang-format-for-slang | ||
| .clang-format-ignore | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| __main__.py | ||
| autoformat | ||
| benchmark.py | ||
| Brewfile | ||
| build-terminfo | ||
| CONTRIBUTING.md | ||
| count-lines-of-code | ||
| dev.sh | ||
| embeds.go | ||
| go.mod | ||
| go.sum | ||
| INSTALL.md | ||
| key_encoding.json | ||
| LICENSE | ||
| local-agent.md | ||
| Makefile | ||
| publish.py | ||
| pyproject.toml | ||
| README.asciidoc | ||
| rsync-and-build.sh | ||
| SECURITY.md | ||
| session.vim | ||
| setup.py | ||
| shell.nix | ||
| staticcheck.conf | ||
| test.py | ||
| update-on-ox | ||
= kitty - the fast, feature-rich, cross-platform, GPU based terminal If you live in the terminal, *kitty* is made for **you**! See https://sw.kovidgoyal.net/kitty/[the kitty website]. image:https://github.com/kovidgoyal/kitty/workflows/CI/badge.svg["Build status", link="https://github.com/kovidgoyal/kitty/actions?query=workflow%3ACI"] https://sw.kovidgoyal.net/kitty/faq/[Frequently Asked Questions] To ask other questions about kitty usage, use either the https://github.com/kovidgoyal/kitty/discussions/[discussions on GitHub] or the https://www.reddit.com/r/KittyTerminal[Reddit community] Packaging status in various repositories: image:https://repology.org/badge/vertical-allrepos/kitty-terminal.svg?columns=3&header=kitty["Packaging status", link="https://repology.org/project/kitty-terminal/versions"]