Commit Graph

14215 Commits

Author SHA1 Message Date
Kovid Goyal
314da124f3
macOS 15: Handle Fn modifier when detecting global shortcuts
Fixes #7582
2024-07-01 09:54:01 +05:30
Kovid Goyal
1393fa6239
Fix #7581 2024-06-30 06:58:37 +05:30
Kovid Goyal
5eccdd3d13
... 2024-06-29 16:24:35 +05:30
Kovid Goyal
226cc92b01
API to add font file to system font lookup 2024-06-29 16:18:43 +05:30
Kovid Goyal
44f7a1c0c2
... 2024-06-29 15:18:28 +05:30
Kovid Goyal
a1cd9ab229
... 2024-06-29 14:42:14 +05:30
Kovid Goyal
766a853622
Add font awesome symbols to NERD fonts range in FAQ 2024-06-29 14:41:29 +05:30
Kovid Goyal
78d1275601
macOS: Fix rendering of the unicode hyphen (U+2010) character when using a font that does not include a glyph for it
The problem was caused by CoreText falling back to the glyph for the
ASCII hyphen U+00AD when the font does not contain a glyph for U+2010.
However, HarfBuzz does not do this automatic fallback (see
https://github.com/harfbuzz/harfbuzz/issues/517). This leads to the
character not being rendered.

To fix this we specialize HarfBuzz glyph lookup for this character
to follow CoreText. HarfBuzz should really do this automatically when
the hb_font is based on a CTFontRef, but I dont have the time/energy to
argue with its maintainers. Note that HarfBuzz already does this
automatic fallback for U+2011.

Hopefully, there aren't many more such special cases in CoreText.

Fixes #7525
2024-06-29 14:22:04 +05:30
Kovid Goyal
ab296b1551
... 2024-06-29 11:08:23 +05:30
Kovid Goyal
0a98d848de
Wayland redraw OS window twice after resize
Needed on, for instance sway to get it to recognize that the framebuffer
has been resized.
2024-06-29 11:07:02 +05:30
Kovid Goyal
6d206324e0
Merge branch 'dependabot/go_modules/golang.org/x/image-0.18.0' of https://github.com/kovidgoyal/kitty 2024-06-27 07:47:29 +05:30
dependabot[bot]
3ec0692001
Bump golang.org/x/image from 0.17.0 to 0.18.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-26 19:41:16 +00:00
Kovid Goyal
107cd957d3
Update changelog 2024-06-25 13:16:05 +05:30
Kovid Goyal
5bb8378dc1
icat: Add an option to leave the cursor to the right of the image
Fixes #7574
2024-06-25 13:06:46 +05:30
Kovid Goyal
190566be8e
Wayland: Fix specifying the output name for the panel kitten not working
Fixes #7573
2024-06-25 12:53:37 +05:30
Kovid Goyal
a8daf06737
Linux: choose-fonts: fix rendering of ligatures in preview text 2024-06-25 11:28:47 +05:30
Kovid Goyal
5d531273ab
Allow changing sample text in showcase function 2024-06-25 11:26:14 +05:30
Kovid Goyal
600d1128ca
Merge branch 'patch-1' of https://github.com/chase/kitty 2024-06-25 07:19:49 +05:30
Chase Colman
e2d3e0ba96
Fix composition example in Graphics Protocol
The example is missing `a=c` but it has the remaining parameters.
2024-06-25 00:59:06 +08:00
Kovid Goyal
190048080c
... 2024-06-24 21:04:11 +05:30
Kovid Goyal
3a8362ca2b
Accomodate the fact that arch linux fira code ttf package excludes the variable version. Sigh. 2024-06-24 21:03:29 +05:30
Kovid Goyal
a43188e778
Fix #7571 2024-06-24 18:21:28 +05:30
Kovid Goyal
8f9c9db1cf
... 2024-06-24 15:42:38 +05:30
Kovid Goyal
e0ffe6d584
... 2024-06-24 11:44:43 +05:30
Kovid Goyal
a70cedbea3
... 2024-06-24 11:34:48 +05:30
Kovid Goyal
b3eb87e8d0
Note var font support in feature summary 2024-06-24 11:31:25 +05:30
Kovid Goyal
9ddcedc126
Update docs of font_family to reference the choose-fonts kitten 2024-06-24 11:21:15 +05:30
Kovid Goyal
fb19bf057e
Update docs of font_features to note that it is not needed for main font configuration anymore 2024-06-24 11:14:21 +05:30
Kovid Goyal
c4d634d143
... 2024-06-24 11:08:38 +05:30
Kovid Goyal
9169bb023c
Document font selection syntax 2024-06-24 11:07:26 +05:30
Kovid Goyal
b34bd8dc93
Update change log with variable font support 2024-06-24 10:06:43 +05:30
Kovid Goyal
cf4630350f
Replace usage of deprecated utcnow function 2024-06-24 10:06:20 +05:30
Kovid Goyal
20c919e16e
Skip DejaVu font test 2024-06-24 09:08:05 +05:30
Kovid Goyal
ac712f5d2d
... 2024-06-24 07:54:20 +05:30
Kovid Goyal
8d716ab6cb
... 2024-06-24 07:54:19 +05:30
Kovid Goyal
85b6f15313
More choose-fonts documentation 2024-06-24 07:54:19 +05:30
Kovid Goyal
73a5401815
Sort style names by variant axis value when available 2024-06-24 07:54:19 +05:30
Kovid Goyal
d51c56ed65
Fix marking of current style in list 2024-06-24 07:54:19 +05:30
Kovid Goyal
18ab18d090
Fix matching against style names in presence of elision 2024-06-24 07:54:19 +05:30
Kovid Goyal
5774965e32
Start documenting the choose fonts kitten 2024-06-24 07:54:19 +05:30
Kovid Goyal
f887519c1e
Fix spec generation for auto setting 2024-06-24 07:54:19 +05:30
Kovid Goyal
800bad207a
Fix changing styles discarding features 2024-06-24 07:54:19 +05:30
Kovid Goyal
2638c7241f
Preserve auto setting when re-running choose-fonts on already selected family 2024-06-24 07:54:19 +05:30
Kovid Goyal
47499d2711
Output features in spec_from_face 2024-06-24 07:54:19 +05:30
Kovid Goyal
64340943bd
... 2024-06-24 07:54:19 +05:30
Kovid Goyal
67a9ee680b
Automatically propagate features from regular face to the other faces when they are set to auto 2024-06-24 07:54:19 +05:30
Kovid Goyal
6e29561486
Fix sorting of features in UI 2024-06-24 07:54:19 +05:30
Kovid Goyal
a2b296d73e
Setting of index features now basically works 2024-06-24 07:54:19 +05:30
Kovid Goyal
0633000c50
... 2024-06-24 07:54:19 +05:30
Kovid Goyal
0cc8dd28de
Add support for font features when rendering sample text 2024-06-24 07:54:19 +05:30