You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Web (Android, WebGL2): text inside card elements renders with missing glyphs #3015
On Android Chrome, where WebGPU is unavailable and Rune runs on its WebGL2 backend, text inside card-like elements renders with whole glyphs missing. The page header and stat labels render correctly; the rows inside the cards come out as fragments (for example sirius renders as two letters, betelgeuse as e eg use).
A screenshot from the device is attached below (added by the reporter).
This is separate from the transparency request in #3014 — same app, unrelated rendering bug.
Environment
Android 11, Chrome (exact version to be confirmed)
Device scale factor ~3 (1170 px wide capture of a 390 pt viewport)
GPU: to be confirmed from chrome://gpu
Rune 8705dbea, wgpu 30.0.2
What the app looks like
A full-window dashboard. Text uses Rune's embedded Inter at SECTION 11.5, LABEL 12, TITLE 13 and MONO_CAPTION 12. The broken text sits inside elements built as col/row with .padding(), .radius(), .fill() and .border(); the header (no card fill) is fine.
What we ruled out
Images: the app already skips every image texture on WebGL2 (glyph star, monogram chips). The corruption is identical with images disabled.
Caching: assets are Cache-Control: no-store and cache-busted; the build hash is current.
Layout: the same build at 390×844 @3x renders correctly on desktop Chrome 158, both with WebGPU and with WebGPU hidden so Rune takes WebGL2 (Object.defineProperty(navigator, 'gpu', { value: undefined }) before init).
DPR: reproduced the phone's 3x scale on desktop; still clean.
So this looks specific to the Android GL stack (driver/ANGLE), not to the layout or the font data.
Questions
Is this a known Android/WebGL2 text issue?
What would help most: chrome://gpu output, an adb logcat capture, or a reduced repro? We can build a text-only card app and run it on the device if that narrows it.
Is there a preferred way to force the CPU renderer on web as a fallback? We could offer CpuFirst::Only on WebGL2 if that path avoids it.
one path difference to check first: FontSmoothing::default() picks FontSmoothing::On (cpu-rasterised masks) in a macos browser, and FontSmoothing::WindfoilChromium on android, linux and windows. under CpuFirst::Auto, glyphs placed before webgl2 handover are filled on the cpu, while glyphs (or subpixel phases) placed after handover are filled on the gpu by FillPass (outline.wgsl reading an Rgba32Uint texture into an R8Unorm atlas). if FillPass fails or drops glyphs on that android driver, early static text would show while later card text comes out fragmented. (if the desktop chrome test was on macos, hiding navigator.gpu still kept FontSmoothing::On.)
to narrow it down, the most useful things are:
try App::font_smoothing(FontSmoothing::Off) on the phone (forces cpu masks and skips FillPass / outline.wgsl) and let us know if the missing glyphs come back.
chrome://gpu (chrome version, GL_RENDERER / angle backend) and any console warnings or webgl errors from remote devtools, plus the screenshot (it did not attach to the issue).
whether globalThis.RUNE_CPU_FIRST = "only" before init renders cleanly on the device.
for forcing the cpu renderer on web:
App::cpu_first(CpuFirst::Only) (or globalThis.RUNE_CPU_FIRST = "only" before init) keeps a full-window web app on the 2d cpu canvas without requesting webgpu or webgl2.
if you want webgpu when present and cpu instead of webgl2 otherwise, either omit rune's opt-in webgl feature (full-window CpuFirst::Auto stays on cpu when navigator.gpu is absent) or pass CpuFirst::Only when navigator.gpu is missing.
Activity
opencodejr commentedon Dec 1, 2026
not a known issue in rune yet.
one path difference to check first:
FontSmoothing::default()picksFontSmoothing::On(cpu-rasterised masks) in a macos browser, andFontSmoothing::WindfoilChromiumon android, linux and windows. underCpuFirst::Auto, glyphs placed before webgl2 handover are filled on the cpu, while glyphs (or subpixel phases) placed after handover are filled on the gpu byFillPass(outline.wgslreading anRgba32Uinttexture into anR8Unormatlas). ifFillPassfails or drops glyphs on that android driver, early static text would show while later card text comes out fragmented. (if the desktop chrome test was on macos, hidingnavigator.gpustill keptFontSmoothing::On.)to narrow it down, the most useful things are:
App::font_smoothing(FontSmoothing::Off)on the phone (forces cpu masks and skipsFillPass/outline.wgsl) and let us know if the missing glyphs come back.chrome://gpu(chrome version,GL_RENDERER/ angle backend) and any console warnings or webgl errors from remote devtools, plus the screenshot (it did not attach to the issue).globalThis.RUNE_CPU_FIRST = "only"before init renders cleanly on the device.for forcing the cpu renderer on web:
App::cpu_first(CpuFirst::Only)(orglobalThis.RUNE_CPU_FIRST = "only"before init) keeps a full-window web app on the 2d cpu canvas without requesting webgpu or webgl2.webglfeature (full-windowCpuFirst::Autostays on cpu whennavigator.gpuis absent) or passCpuFirst::Onlywhennavigator.gpuis missing.