Skip to content

Sprites visual previews render in monospace: sans-serif resolves to Liberation Mono (install DejaVu or alias fontconfig) #3939

Done

Description

@integry

Problem

Visual-preview screenshots taken on Sprites render every page in a monospace font. Found in the 0.9.4 release-candidate test (propr-fly-fixture#154): the agent reported "this container has no sans-serif fonts installed, so the browser fell back".

Checked inside a provisioned Sprite: scripts/sprites-agent-setup.sh installs fonts-liberation and fonts-noto-color-emoji, but fc-match sans-serif returns LiberationMono-Regular.ttf. fonts-dejavu-core (the usual fontconfig default) is not installed and no alias maps the generic families to Liberation Sans/Serif, so sans-serif and serif both fall back to Liberation Mono.

Do

  • In install_chromium_dependencies, also install fonts-dejavu-core (and, if needed, fontconfig), or add a fontconfig alias mapping sans-serif → Liberation Sans and serif → Liberation Serif.
  • After install, verify fc-match sans-serif is not a monospace face; log a warning otherwise.
  • Bump whatever invalidates the clean checkpoint, so existing Sprites are reprovisioned with the fonts.
  • Check the Fly Machines agent image (docker/Dockerfile.* used for Fly Machines) for the same gap.

Tests: setup-script test asserts the font packages; live check: a visual preview of a page with font-family: system-ui, sans-serif renders in a proportional font on Sprites.

Activity

  1. propr-dev commented on Nov 30, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6.2-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6.2-sol
    • Branch: 3939/gpt-6.2-sol-sprites-visual-previews-r-20261130-2329-m6w
    • Base Branch: 3758-epic-runtime-abstraction-sc0
    • Worktree: issue-3939-20261130-2329-gpt-6.2-sol-m6w

    🔍 Track Task Execution

  2. added a commit that references this issue on Nov 30, 2026
    6ee435e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions