#4057·paseo

bug: Android clips trailing text app-wide on devices whose system font has taller metrics than Roboto

Author: djdubdCreated Aug 30, 2026Updated Sep 28, 2026
Labelsbugplatform:androidp2triaged

What's broken

On Android, Paseo loses the trailing edge of text throughout the app, on both axes. Single-line labels lose their last character with no ellipsis. Multi-line blocks are sized too short, and the shortfall grows with the length of the block: a few wrapped lines lose the last one, while a long multi-paragraph message loses several. The lost text is either sliced horizontally through the middle of the glyphs or missing entirely.

It is not confined to the message list or to markdown. In Settings → Appearance on my device:

  • The Theme value renders as Midnigh, missing the final t.
  • The Highlight theme value renders as Catppucci.
  • Both font-size units render as p instead of px.
  • The Code font description's last line, empty for the system default, is sliced through the middle of the glyphs.

In the chat view, my own message bubbles lose their final line the same way, which is what I originally noticed. Assistant messages are affected too, less often.

The single explanation that covers both axes: the text is measured smaller than it is drawn. For a label, the layout concludes the string fits the available width, adds no ellipsis, then draws wider and the tail falls outside. For a paragraph, it concludes some number of lines, the real glyphs wrap to more than that, and the container is short by the difference. That difference accumulates with the amount of text, which is why a long message loses more than a short one.

The lever: the system font

Severity tracks the system font's metrics, and it moves in both directions. Same device, same app build, same daemon, same settings, only the system font changed:

System font Result
Noto Serif Severe. A wrapped line reduced to the top tips of its ascenders.
Nothing OS 5 default About half a line lost per block, consistently.
Roboto No clipping.

Nothing else changed between those three rows. The app has to be restarted after a font change before the new sizing takes effect.

Steps to reproduce

  1. Set the device system font to one with a taller or wider glyph box than Roboto. The Nothing OS 5 default reproduces it; Noto Serif reproduces it far more dramatically. Restart the app after changing the font.
  2. Open Settings → Appearance and look at the Theme and Highlight theme dropdown values, the font size units, and the Code font description.
  3. Open any conversation and send a message long enough to wrap to several lines.
  4. Observe the trailing character of the labels and the final lines of the message bubble. Send a long multi-paragraph message to see more than one line disappear.

What I ruled out, and how

Each of these was tested, not argued.

  • The CustomLineHeightSpan clamp from #2959. A too-small lineHeight cannot remove the t from Midnight. The horizontal clipping rules this mechanism out as the general cause, though I expect it compounds the vertical case in markdown, where markdown-styles.ts sets body.lineHeight to fontSize * 1.4 and #2960 argues that is already below the needed floor.
  • Appearance font scaling. Tested at Interface/Content sizes 12, 14, 15 and 16. Every size clips. Changing the size only shifts which words land on the wrap boundary.
  • Display density. Physical 480 with a 440 override, and again with the override removed. Both clip; 480 is worse in proportion, which is what a fixed shortfall expressed in dp does.
  • App version. packages/app/src/components/message.tsx is identical here between v0.5.2 and v0.7.0-beta.2, and the same is true on main.
  • Client/daemon version skew. My client is 0.5.2 against a 0.6.1 daemon, which your docs say should be in lockstep. The clipping disappeared under Roboto with that skew unchanged.

One lead, offered as a lead

packages/app/src/styles/theme.ts:

typescript
export const DEFAULT_UI_FONT_STACK: string = Platform.select({
  ios: "system-ui",
  default: "normal",
  web: "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",
});

On Android that resolves to the literal string "normal", which is not a font family. Every component reading theme.fontFamily.ui hands Android that value, while components that set no family take a different resolution path. Whether those two agree on a non-Roboto ROM seems worth checking, given the symptom is a measure-versus-draw disagreement. I have not patched and rebuilt to confirm it, so this is a suspicion rather than a diagnosis.

Relationship to existing issues

Related to #2959, #2960 and #3659, but not the same defect. Those cover markdown headings under an explicit too-small lineHeight. This is app-wide, affects plain non-markdown text including Settings descriptions, and clips horizontally as well as vertically.

Environment

  • Nothing Phone (3), Nothing OS, Android 17 (API 37), 1260x2800
  • Display density: physical 480, override 440. Reproduces with and without the override.
  • System font scale: 1.0. No font weight adjustment, no high-contrast text.
  • Paseo Android 0.5.2 (versionCode 5002, targetSdk=36), installed from Google Play
  • Paseo daemon 0.6.1 on Linux

Note for anyone else hitting this: there is no 0.6.x Android build published at all, stable or beta, so 0.5.2 is the newest Android client available and the lockstep guidance in the docs cannot currently be satisfied on Android.

Workaround

Switch the device system font to Roboto and restart the app.