Setting a custom font-family makes changing the font size incredibly sluggish
#7445
Unanswered
00-kat
asked this question in
Issue Triage
Replies: 1 comment
-
|
This is very annoying. It took me a long time to figure out why my terminal was lagging, your video provided clarity. It seems there is an incompatibility issue between Ghostty and GTK. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
If the font is changed from the default,
increase_font_sizeanddecrease_font_sizebecome incredibly sluggish, for some reason. Adding more font fallbacks makes it slower and slower. This is very noticeable when holding downincrease_font_size's associated keybinding to quickly increase the font size.Epilepsy warning (possibly).
recording.mp4
Expected Behavior
Changing the font size is butter smooth, just like when you don't have any configuration.
Actual Behavior
Adding
font-familymakes changing the font size slow. Adding morefont-familys makes it even slower.Reproduction Steps
ghostty --config-default-files=false(useopen -na Ghostty.app --args --config-default-files=falseon macOS)ghostty --config-default-files=false --font-family=font1 --font-family=font2 --font-family=font3 --font-family=font4, replacingfont1throughfont4with the name of different fonts that you have installed (seeghostty +list-fonts).Ghostty Logs
Note: the repeated font_shared_grid_set lines are printed every time the font size changes while holding down ctrl++.
Click or tap to expand.
Ghostty Version
OS Version Information
Arch Linux (rolling release)
(Linux only) Display Server
Wayland
(Linux only) Desktop Environment/Window Manager
Hyprland 0.49.0
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.Footnotes
I have no idea what the default keybinding on macOS is. ↩
Beta Was this translation helpful? Give feedback.
All reactions