mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-10-28 17:05:13 +08:00
* fix(fonts): turn stroke thickening off in gpui, not through AppleFontSmoothing font_thicken: false pinned AppleFontSmoothing to 0 in the process's argument domain. That never left the process, but AppKit reads the same preference, so tty7's native menus and alerts lost their smoothing too, most visibly dark text in light mode. The terminal's own dark text looked unchanged, since gpui never thickens it in the first place. The gpui fork now exposes set_glyph_dilation, which reaches its rasterizer alone; apply_font_thicken calls that and writes no preference. A test checks that turning thickening off leaves AppleFontSmoothing alone (red on the old implementation). Fixes #1119 * test(fonts): keep the font_thicken test out of config_reload_tests' doc comment