Repository navigation
win32/host: add configurable glyph fonts - #13
Merged
Merged
Conversation
4 of 9 tasks
scgopi/GraphCode#775 Add a versioned font configuration API without changing the pinned surface option layouts. The embeddable renderer now accepts a copied primary family, ordered fallbacks, final point size, width ratio, weight, and raster mode while preserving the legacy Consolas path. Resolve configured faces explicitly, account for monitor DPI once, and include the complete font configuration in glyph cache identity. Cover the ABI, validation, fallback selection, and renderer path in the native Windows contracts. Co-authored-by: Copilot App <[email protected]>
coneilen
force-pushed
the
coneilen-terminal-provider-parity
branch
from
October 24, 2026 17:36
8f400f7 to
f83a3ef
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
winghostty_font_configABI and surface setter without changing the pinned v1/v2 surface option layoutsValidation
.\scripts\dev-windows.cmd zig build test -Dtest-filter=win32.\scripts\dev-windows.cmd zig build test -Dtest-filter=scroll.\scripts\dev-windows.cmd zig build test -Dtest-filter=keybind.\scripts\dev-windows.cmd zig build -Demit-exe=trueAdditional provider-specific validation on the final
graphcode-hostbase:.\scripts\dev-windows.cmd powershell -NoProfile -ExecutionPolicy Bypass -File .\test\windows\compile-win32-host-api.ps1(C/C++, including-fshort-enums).\scripts\dev-windows.cmd powershell -NoProfile -ExecutionPolicy Bypass -File .\test\windows\run-win32-host-api-smoke.ps1.\scripts\dev-windows.cmd powershell -NoProfile -ExecutionPolicy Bypass -File .\test\windows\run-win32-host-renderer.ps1(3/3 fresh processes; 100 teardown cycles per process).\scripts\dev-windows.cmd zig test src\renderer\win32_glyph.zig -lc -lgdi32 -lkernel32 -luser32(28/28).\scripts\dev-windows.cmd zig test src\win32_host.zig -lc -luser32 -lkernel32 -lgdi32 -lopengl32 -lole32 -loleaut32(96/96).\scripts\dev-windows.cmd zig build -Demit-win32-host=trueThe scroll and keybind filters were not run because this change is isolated to the embeddable host ABI and glyph renderer.
Risks / Follow-ups