kitty/docs
Pete Dietl 594c96f660
Fix glyphs slightly wider than their cell being rendered smaller
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
2026-11-16 14:58:42 +05:30
..
_static Cleanup previous PR 2026-10-09 20:41:46 +05:30
_templates
kittens Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
screenshots Add explicit edge resizing for Splits and preserve resize sessions 2026-10-09 19:54:02 +08:00
actions.rst
basic.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
binary.rst Add nightly version to version string for nightly builds. Fixes #10751 2026-10-27 10:43:51 +05:30
build.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
changelog.rst Fix glyphs slightly wider than their cell being rendered smaller 2026-11-16 14:58:42 +05:30
clipboard.rst clipboard protocol: Specify handling of invalid base64 data 2026-08-25 10:12:25 +05:30
color-stack.rst Color control protocol: Respond to unknown field names safely using base64 encoding 2026-09-01 21:20:04 +05:30
conf.py ... 2026-09-04 06:35:44 +05:30
conf.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
custom-shaders.rst Custom shaders: Fix focus driven groups ending in the wrong state after hide/unhide 2026-11-15 08:39:25 +05:30
deccara.rst
desktop-notifications.rst Handle ConEmu OSC 9;9 cwd reporting and ignore other ConEmu OSC 9 sub-commands 2026-11-13 19:44:02 +05:30
dnd-protocol.rst Add a line to the spec to clarify that MIME types from first move only can be relied upon 2026-10-30 18:20:53 +05:30
extract-rst-targets.py autoformat 2026-08-05 05:32:56 +05:30
faq.rst Switch from sphinx-inline-tabs to sphinx-design 2026-08-09 14:31:33 +05:30
file-transfer-protocol.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
glossary.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
graphics-protocol.rst docs: add kmp-terminal and SSH Client for Android to graphics protocol 2026-10-29 20:58:38 +00:00
index.rst Switch from sphinx-inline-tabs to sphinx-design 2026-08-09 14:31:33 +05:30
installer.sh Also use diskutil in a couple more scripts 2026-09-24 09:32:05 +05:30
integrations.rst Add show-your-work to integrations 2026-10-11 14:09:07 +05:00
intro_vid.rst Cleanup previous PR 2026-10-09 20:41:46 +05:30
invocation.rst
keyboard-protocol.rst Add T1K to the list of terminals implementing the keyboard protocol 2026-11-10 09:53:59 +02:00
kittens_intro.rst
launch.rst Fix #10858 2026-11-14 08:16:53 +05:30
layouts.rst Allow resizing docks 2026-11-13 19:44:03 +05:30
Makefile Fix #10577 2026-10-01 17:23:37 +05:30
mapping.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
marks.rst
misc-protocol.rst Program status protocol: fixes and improvements 2026-10-13 08:50:39 +05:30
multiple-cursors-protocol.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
notifications.py autoformat 2026-08-05 05:32:56 +05:30
open_actions.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
overview.rst Allow selecting text drawn in the tab bar outside the tabs 2026-11-15 09:32:37 +05:30
performance.rst Switch to perf for profiling from gperftools 2026-08-16 11:24:41 +05:30
pipe.rst
pointer-shapes.rst
press-mentions.rst
protocol-extensions.rst
quake-screenshots.rst
quickstart.rst
rc_protocol.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
remote-control.rst Further harden remote control password processing 2026-11-03 17:36:01 +05:30
requirements.txt Switch from sphinx-inline-tabs to sphinx-design 2026-08-09 14:31:33 +05:30
sessions.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
shell-integration.rst Cleanup previous PR 2026-10-18 21:33:34 +05:30
support.html
support.rst
text-sizing-protocol.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00
underlines.rst
unscroll.rst
wide-gamut-colors.rst Docs: Correct protocol references, examples and generated help 2026-10-28 13:24:43 +08:00