Skip to content

chore(deps): pin sctk-adwaita to a fork with cosmic-text CSD title renderer#1634

Open
nikicat wants to merge 1 commit into
raphamorim:mainfrom
nikicat:chore/sctk-adwaita-font-pin
Open

chore(deps): pin sctk-adwaita to a fork with cosmic-text CSD title renderer#1634
nikicat wants to merge 1 commit into
raphamorim:mainfrom
nikicat:chore/sctk-adwaita-font-pin

Conversation

@nikicat
Copy link
Copy Markdown

@nikicat nikicat commented May 30, 2026

Summary

Note: this PR pins to a fork branch and is not intended to merge as-is
it's the working fix while the upstream sctk-adwaita change lands, shared so other
Rio users hitting #1622 have a buildable patch. Refs #1622.

GNOME/Mutter on Wayland forces client-side decorations, so Rio paints its own
title bar via sctk-adwaita. The released 0.10.x ab_glyph renderer loads a single
font (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 .notdef hollow 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 covering
face instead of .notdef. The wayland-csd-adwaita feature is flipped from
ab_glyph to cosmic-text accordingly.

This supersedes the earlier ab_glyph + fc-match per-codepoint fallback
approach: 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

…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>
@nikicat nikicat force-pushed the chore/sctk-adwaita-font-pin branch from f34cb2b to d0fc7f9 Compare May 31, 2026 14:24
@nikicat nikicat changed the title chore(deps): pin sctk-adwaita to a fork with CSD title font fallback chore(deps): pin sctk-adwaita to a fork with cosmic-text CSD title renderer May 31, 2026
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.

1 participant