chore(deps): pin sctk-adwaita to a fork with cosmic-text CSD title renderer#1634
Open
nikicat wants to merge 1 commit into
Open
chore(deps): pin sctk-adwaita to a fork with cosmic-text CSD title renderer#1634nikicat wants to merge 1 commit into
nikicat wants to merge 1 commit into
Conversation
…nderer The CSD title bar (drawn by sctk-adwaita on GNOME/Mutter Wayland and any compositor that forces client-side decorations) loads a single font and lays every codepoint out with it, so emoji / CJK / many symbols render as identical .notdef hollow boxes. Pin sctk-adwaita to a fork branch that swaps the title renderer for cosmic-text, which shapes text properly and walks a real font fallback chain, and flip the `wayland-csd-adwaita` feature from `ab_glyph` to `cosmic-text`. Drop once the fix lands in a released sctk-adwaita 0.10.x. downstream: raphamorim#1622 upstream: PolyMeilex/sctk-adwaita#96 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
f34cb2b to
d0fc7f9
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
GNOME/Mutter on Wayland forces client-side decorations, so Rio paints its own
title bar via sctk-adwaita. The released 0.10.x
ab_glyphrenderer loads a singlefont (Cantarell by default) and lays every codepoint out with it — there is no
fallback chain, so emoji, CJK, and many symbol ranges in window titles silently
render as identical
.notdefhollow boxes.Details
Pins sctk-adwaita to a fork branch that swaps the title renderer for
cosmic-text, which shapes text properly (bidi/RTL included) and walks a real
font fallback chain via
fontdb, so missing codepoints resolve to a coveringface instead of
.notdef. Thewayland-csd-adwaitafeature is flipped fromab_glyphtocosmic-textaccordingly.This supersedes the earlier
ab_glyph+fc-matchper-codepoint fallbackapproach: cosmic-text is a smaller, more capable change (proper shaping, one
renderer instead of bolting fallback onto two), and since the title bar draws
text in a single theme color, monochrome fallback is all that's needed.
Drop the patch once the fix lands in a released sctk-adwaita 0.10.x.
Refs #1622
🤖 Generated with Claude Code