Skip to content

feat(text): keep MultiFace font fallback on GPU - #513

Open
besmpl wants to merge 3 commits into
gogpu:mainfrom
besmpl:agent/issue-451-font-fallback
Open

feat(text): keep MultiFace font fallback on GPU#513
besmpl wants to merge 3 commits into
gogpu:mainfrom
besmpl:agent/issue-451-font-fallback

Conversation

@besmpl

@besmpl besmpl commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Source-aware GPU font fallback (#451)

MultiFace now exposes its fallback chain and contiguous source-font runs, and shaping retains the owning face on every ShapedGlyph. The glyph-mask and MSDF GPU paths rasterize those runs into ordered batches instead of returning a nil-source error; shaped CPU fallback also resolves each glyph's source. Mixed-font tests cover deterministic run offsets, source identity, glyph-mask batching, and MSDF batching.

Fixes #521.

Verification: go test ./..., go test -tags nogpu ./..., go vet ./....

@besmpl
besmpl requested a review from kolkov as a code owner August 14, 2026 10:25
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No supported way to render text with font fallback on the GPU path

1 participant