Comments (4)
kitty calculates cell width by querying the sizes of all the ascii characters and taking the maximum width from that. See calc_cell_width() in freetype.py. I'm guessing it is because these fonts are not properly monospaced. Probably the underscore character is wider than all the other. You can stick a print statement in that function to confirm.
from kitty.
What font is this?
fc-match monospace
from kitty.
LiberationMono-Regular.ttf: "Liberation Mono" "Regular"
But I've configured it to use "Cousine for Powerline", both terminals use the same font
from kitty.
This is a screenshot with just monospace
from kitty.
Related Issues (20)
- kitty: incorrectly acts like mouse button is pressed HOT 1
- Prompt not visible after resetting the terminal HOT 1
- cursor not hiding in Wayland session HOT 2
- Open new tab next to current instead of at the end of the list of open tabs. HOT 1
- focus_visible_window breaks if interrupted by mouse click
- KITTY_DATA_START dump after second ssh onto server HOT 4
- per window background color HOT 2
- kitty randomly hangs after recent system updating HOT 3
- on_focus_change erroneously invoked on every loop with sway+fcitx5 HOT 7
- "map <shoutcut> clear_terminal to_cursor active" doesn't seem to be working properly. HOT 1
- Option for alternate rendering of shade characters HOT 4
- Enter key outputs ^M instead of executing command during apt upgrade prompt HOT 1
- Kitten not matching on tab titles with spaces? HOT 1
- Clarification difference between `show_key` and `show-key` HOT 2
- Feature Request: Foreground opacity HOT 1
- panic in `kitten diff` when running under shpool and scrolling with mouse wheel HOT 5
- test_ssh_copy failure on riscv64 and ppc64el HOT 4
- Customize Window Title Bar like macOS Default Terminal HOT 1
- Text selection with zsh `reset-prompt` HOT 3
- The output buffer does not support sRGB color encoding, colors will be incorrect. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitty.