Commit Graph
15148 Commits
Author SHA1 Message Date
Kovid Goyal b0c41a70bd Start work on VT LineBuf in Go 2025-02-07 20:09:00 +05:30
Kovid Goyal 244f4597dc launch: Decouple source and dest windows from active window
Fixes #8295
2025-02-07 13:40:44 +05:30
Kovid Goyal 77416d0fc8 Make mypy happy 2025-02-07 12:57:17 +05:30
Kovid Goyal 2f57d20153 Add hyperlink id to CellAttrs 2025-02-06 20:35:50 +05:30
Kovid Goyal c4d28c8bca Merge branch 'report-as-via-escape-code' of https://github.com/rivenirvana/kitty 2025-02-06 19:40:28 +05:30
Arvin Verain aeb8ec79c2 fix: Report OSC 30101 bg change as via escape code 2025-02-06 21:35:10 +08:00
Kovid Goyal 92e2b93e95 Start work on VT implementation in Go
Will be used by pager kitten
2025-02-06 12:31:32 +05:30
Kovid Goyal 4b38818dca Make CodeQL happy 2025-02-06 10:13:48 +05:30
Kovid Goyal b3a0a9907f ... 2025-02-06 09:08:51 +05:30
Kovid Goyal 087c74919e Add some clarifications to text-sizing spec
Based on feedback from users
2025-02-06 08:59:27 +05:30
Kovid Goyal bfbb54cdf3 ... 2025-02-05 17:04:14 +05:30
Kovid Goyal d22c8f5878 Nicer reporting of errors when using geninclude 2025-02-05 16:24:38 +05:30
Kovid Goyal 32e7cd6e35 ... 2025-02-05 12:00:04 +05:30
Kovid Goyal d578401fed Fix #8289 2025-02-05 11:57:50 +05:30
Kovid Goyal ce76c6bc90 Make mypy 1.15 happy 2025-02-05 09:36:21 +05:30
Kovid Goyal 2f0dbf7766 Fix #8286 2025-02-05 09:15:49 +05:30
Kovid Goyal 0dd3ee0046 Add some more command to replay commands 2025-02-05 08:48:16 +05:30
Kovid Goyal d896d7713d Fix #8288 2025-02-05 08:31:36 +05:30
Kovid Goyal 9ca420a6bf Clarify that text sizing is relative to base font size 2025-02-05 07:59:59 +05:30
Kovid Goyal ea5db4ec09 fix build with old compiler 2025-02-03 14:01:11 +05:30
Kovid Goyal 0c5a053c9c ... 2025-02-03 11:18:18 +05:30
Kovid Goyal 20821f4beb macOS: Fix fallback font rendering for bold/italic text not working for some symbols that are present in the Menlo regular face but not the bold/italic faces
Fixes #8282
2025-02-03 11:06:42 +05:30
Kovid Goyal 02a88b2803 Use 64 byte aligned memory for cairo surface buffer 2025-02-03 11:06:42 +05:30
Kovid Goyal 4e06e0a8fc ... 2025-02-03 11:06:42 +05:30
Kovid Goyal 70152180f8 Update changelog 2025-02-03 11:06:42 +05:30
Kovid Goyal 59c4d05335 ... 2025-02-03 11:06:42 +05:30
Kovid Goyal a0b6c49c94 DRYer 2025-02-03 11:06:42 +05:30
Kovid Goyal b5cc4b8f4e Set variation settings for cairo fonts 2025-02-03 11:06:42 +05:30
Kovid Goyal bab14e8612 Set the palette index cairo font option 2025-02-03 11:06:42 +05:30
Kovid Goyal 3d06cb8709 Set cairo hinting options 2025-02-03 11:06:41 +05:30
Kovid Goyal f145403fce Render all emoji not just colrv1 with cairo
Less code duplication and we get upscaling of bitmaps for free needed
when rendering large sized text for multicells.
2025-02-03 11:06:41 +05:30
Kovid Goyal 5adc81e146 Skip colrv1 rendering on macOS 2025-02-03 11:06:41 +05:30
Kovid Goyal a9677f655a Fix baseline alignment when redering with cairo 2025-02-03 11:06:41 +05:30
Kovid Goyal 44eec08b24 Fix buffer not being cleared before re-use 2025-02-03 11:06:41 +05:30
Kovid Goyal d068a0a6de Add basic colrv1 rendering test 2025-02-03 11:06:41 +05:30
Kovid Goyal ea54cbf193 Fix cairo not releasing static resources at program shutdown 2025-02-03 11:06:41 +05:30
Kovid Goyal 9d9bfc6f26 Forgot to unpremultiply alpha for cairo 2025-02-03 11:06:41 +05:30
Kovid Goyal 1b6fa1ee03 Get rendering of COLRv1 glyphs basically working
TODO:
Set cairo font options: hinting, variations, antialias, etc.
Add a test for rendering with some small colrv1 sample font
Check that the destructor is dereferencing the freetype font as expected
2025-02-03 11:06:41 +05:30
Kovid Goyal 744145f392 Add cairo and pixman as deps on Linux
Needed to render COLRv1 fonts. Which are needed because bitmap emoji
fonts dont render well at large font sizes such as can be used with
multicell chars.
2025-02-03 11:06:38 +05:30
Kovid Goyal c599b7e02f API to render a single codepoint using a Face 2025-02-03 10:56:52 +05:30
Kovid Goyal 689bdde224 Fix history buffer not clearing lines when rewrapping and the number of lines is larger than size of buffer 2025-02-03 10:56:52 +05:30
Kovid Goyal de19019251 Use a single alloc for all segments of historybuf when resizing 2025-02-03 10:56:52 +05:30
Kovid Goyal 18ba5ce668 ... 2025-02-03 10:56:52 +05:30
Kovid Goyal 11315b35ba ... 2025-02-03 10:56:52 +05:30
Kovid Goyal 82d7cc1802 spelling 2025-02-03 10:56:52 +05:30
Kovid Goyal 57d1ec8648 ... 2025-02-03 10:56:51 +05:30
Kovid Goyal c2503988c1 Add a note about querying for scale and width separately 2025-02-03 10:56:51 +05:30
Kovid Goyal 78c83e8218 Add a sentence specifying the fractional scale does not adjust number of cells 2025-02-03 10:56:51 +05:30
Kovid Goyal dbb1703f15 Fix crash with large text
Need to find a better way to render the dotted decoration. Will do that
later, just fix the crash for now.
2025-02-03 10:56:51 +05:30
Kovid Goyal b53c4941b5 add link to issue discussing text-sizing protocol 2025-02-03 10:56:51 +05:30