Commit 3f93720
Confitty Developer
fix(preview): match Kitty's cell metrics and rendering more closely
- line-height: 1.45 -> 1.25 to match Kitty's default cell_height ratio so
rows pack to terminal density instead of web-text density.
- font-kerning: none (terminals never kern monospace fonts).
- text-rendering: geometricPrecision plus WebKit/Mozilla font smoothing,
so cells stay on integer pixel grids and characters don't shift on
hinting boundaries.
- Wider fallback stack: Liberation Mono before generic monospace, so
Linux preview without web fonts looks right.
- Selection drops the 2px border-radius. Real Kitty fills selected cells
as full rectangles, no rounding.1 parent 62f9704 commit 3f93720
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
0 commit comments