Mitchell Hashimoto
240c60b62a
pkg/libpng: update
2024-05-09 20:59:28 -07:00
Mitchell Hashimoto
650bf3788f
pkg/glslang update
2024-05-09 20:57:28 -07:00
Mitchell Hashimoto
6672568473
pkg/harfbuzz: update
2024-05-09 20:55:02 -07:00
Mitchell Hashimoto
0c0b67c887
pkg/highway: update
2024-05-09 20:53:45 -07:00
Mitchell Hashimoto
8b7bca53c1
pkg/simdutf: update to 5.2.8
2024-05-09 20:50:54 -07:00
Mitchell Hashimoto
61fd7f7fbf
renderer/metal: reset cells when font size changes to avoid blank
...
Fixes #1743
2024-05-09 09:48:08 -07:00
Mitchell Hashimoto
ae0464cf70
Merge pull request #1741 from qwerasd205/non-integer-point-size
...
feat(font): Non-integer point sizes
2024-05-08 21:36:48 -07:00
Mitchell Hashimoto
f5594eb0cb
Merge pull request #1744 from mitchellh/matrix
...
ci: collapse renderer/font matrix into single job
2024-05-08 21:36:35 -07:00
Mitchell Hashimoto
a26a0b0b66
ci: collapse renderer/font matrix into single job
...
We were overloading our macOS runner quota.
2024-05-08 21:20:50 -07:00
Mitchell Hashimoto
9515d642ee
Merge pull request #1739 from NgoHuy/fix-gtk4.14
...
Add GDK_DEBUG as default environment variable for linux
2024-05-08 21:06:47 -07:00
Mitchell Hashimoto
e81f525101
apprt/gtk: set GDK_DEBUG
2024-05-08 21:04:50 -07:00
Qwerasd
5df0935f82
update font_size to f32 in libghostty
2024-05-09 00:03:40 -04:00
Qwerasd
575a477be5
cast dpi to int again
...
forgot to change this back when I reverted the dpi from f32 to u16
2024-05-09 00:03:40 -04:00
Qwerasd
fb913f0d9e
Enable libpng in harfbuzz freetype dep
...
Without this, this replaces the dep on the main level, breaking color glyphs
2024-05-09 00:03:40 -04:00
Qwerasd
9056771509
keep font size in sane range
2024-05-09 00:03:40 -04:00
Qwerasd
d01db9f793
revert dpi type to u16
2024-05-09 00:03:40 -04:00
Qwerasd
fa45c18a6a
fix point size type
2024-05-09 00:03:40 -04:00
Qwerasd
a9daba6d6d
fix freetype face size calculation
2024-05-09 00:03:40 -04:00
Qwerasd
3156df261f
fix a couple test failures
2024-05-09 00:03:40 -04:00
Qwerasd
d4a7549222
feat(font): Non-integer point sizes
...
Allows for high dpi displays to get odd numbered pixel sizes, for
example, 13.5pt @ 2px/pt for 27px font. This implementation performs
all the sizing calculations with f32, rounding to the nearest pixel
size when it comes to rendering. In the future this can be enhanced
by adding fractional scaling to support fractional pixel sizes.
2024-05-09 00:03:40 -04:00
Mitchell Hashimoto
08940940d5
Merge pull request #1742 from mitchellh/macos-matrix
...
ci: add renderer, font engine macOS build+test matrix
2024-05-08 20:59:31 -07:00
Mitchell Hashimoto
6dcf567554
font: fix coretext test issues with harfbuzz shaper
2024-05-08 18:33:14 -07:00
Mitchell Hashimoto
435bd32cfd
font: SharedGridSet works without font discovery
2024-05-08 18:24:55 -07:00
Mitchell Hashimoto
995f39314d
ci: add renderer, font engine macOS build+test matrix
2024-05-08 12:31:30 -07:00
Mitchell Hashimoto
3c882e364a
font: disable CJK unification fallback with freetype rasterizer
2024-05-08 12:18:35 -07:00
Mitchell Hashimoto
e037c55da6
Merge pull request #1740 from mitchellh/ct-rtl
...
coretext: force LTR font shaping
2024-05-08 10:19:57 -07:00
Mitchell Hashimoto
1cb70d6e40
font/coretext: force LTR shaping
2024-05-08 10:11:57 -07:00
Severus
245aaa34bf
Add upstream's issue
2024-05-09 00:00:14 +07:00
Severus
b33190131f
Add GDK_DEBUG as default environment variable for linux
...
Since gtk 4.14, we need to define driver to run OpenGL as (gtk's issue)[https://gitlab.gnome.org/GNOME/gtk/-/issues/6589 ]
2024-05-08 23:50:08 +07:00
Mitchell Hashimoto
eeb7f7aa02
pkg/macos: add more text APIs
2024-05-08 09:49:16 -07:00
Mitchell Hashimoto
18e5382909
font/coretext: do not assume capacity on arraylist append
...
Now that we're padding the cells with blanks if we have shaped ligatures
we don't actually know the exact count based on the CoreText APIs, so we
should just dynamically add.
2024-05-08 08:55:28 -07:00
Mitchell Hashimoto
f13a471e05
Merge pull request #1738 from jparise/bash-histfile
...
shell-integration: expand bash HISTFILE value
2024-05-08 07:59:48 -07:00
Jon Parise
054e01eaaf
shell-integration: expand bash HISTFILE value
...
bash reads HISTFILE at startup to locate its history file, but this is
apparently too early for it to be able to expand home-relative paths. We
now manually expand the full path and add that to the environment.
2024-05-08 07:49:46 -07:00
Mitchell Hashimoto
2b785127b1
Merge pull request #1729 from jparise/bash-integration
...
shell-integration: automatic bash integration
2024-05-07 20:01:51 -07:00
Mitchell Hashimoto
4eaebe5abc
update README
2024-05-07 20:01:30 -07:00
Mitchell Hashimoto
d64fa6d9db
termio: shell integration uses arena
2024-05-07 19:57:26 -07:00
Mitchell Hashimoto
0445a017a2
Merge pull request #1736 from qwerasd205/metal-cell-fixes
...
Metal cell Contents structure improvements
2024-05-07 19:23:45 -07:00
Mitchell Hashimoto
0335b0eada
core: preedit modification sets full screen dirty
...
Fixes #1735
2024-05-07 19:19:58 -07:00
Qwerasd
7e9bdb84a8
renderer/Metal: cell Contents asserts
2024-05-07 21:19:22 -04:00
Qwerasd
c801e28c39
renderer/Metal: cell Contents tests
2024-05-07 21:13:50 -04:00
Qwerasd
4f26eb203b
renderer/Metal: cell Contents cleanup
...
Cleaned up naming, some logic changes, added comments.
2024-05-07 20:46:20 -04:00
Qwerasd
adf211f5d5
renderer/Metal: ArrayList cell Contents rows
...
This will allow for unlimited glyphs per row, eliminating the issue run in to with multi-substitution glyphs and combining characters which can result in more glyphs in a row than there are columns.
2024-05-07 19:19:06 -04:00
Qwerasd
dafabe3296
renderer/Metal: improve cell contents tracking
...
Previous version prevented multiple glyphs from belonging to the same coordinate, which broke quite a few things. This implementation fixes that (and may be more efficient too). Needs clean-up.
2024-05-07 19:19:06 -04:00
Mitchell Hashimoto
91bcc3de39
font/coretext: choose proper original font for CJK search
2024-05-07 15:39:17 -07:00
Mitchell Hashimoto
b7b76e352c
Merge pull request #1734 from mitchellh/ct-fallback
...
coretext: let macOS choose the font for CJK Unified Ideographs
2024-05-07 15:21:38 -07:00
Mitchell Hashimoto
84095025d5
font: fontconfig has proper function
2024-05-07 15:10:53 -07:00
Mitchell Hashimoto
7c5d829274
font: use CoreText API for CJK unified ideographs
2024-05-07 15:05:34 -07:00
Mitchell Hashimoto
4dd3b107c6
Merge pull request #1733 from mitchellh/dirty-fixes
...
Track dirty bits in more places
2024-05-07 10:47:17 -07:00
Mitchell Hashimoto
cd42888182
terminal: eraseRows sets dirty bits
2024-05-07 10:38:27 -07:00
Mitchell Hashimoto
f975861891
terminal: maintain dirty bits when rotating rows on clone
2024-05-07 10:36:54 -07:00