mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-20 12:38:08 +00:00
Fixes #13758 ### Problem With `font-thicken = true` on macOS, IME preedit (composing) text renders noticeably thinner than committed text. ### Cause & Fix Committed and preedit text diverge in `src/renderer/generic.zig`: ```text Committed: Shaper -> addGlyph -> renderGlyph(..., { .thicken = config.font_thicken, ... }) Preedit: State -> addPreeditCell -> renderCodepoint(..., { .grid_metrics }) ``` Fix: Pass `self.config.font_thicken` and `self.config.font_thicken_strength` in `addPreeditCell`. ### Testing - Verified on macOS with `font-thicken = true`. - Verified with `zig fmt --check`. ### AI Disclosure AI (gemini-3.8-flash) assisted in tracing the call path; manually verified and tested.