[dev] [Marfuen] mariano/fix-screenshot-overlay-font-rendering#2659
Merged
[dev] [Marfuen] mariano/fix-screenshot-overlay-font-rendering#2659
Conversation
…uction The node:*-slim base images ship with zero fonts installed, so librsvg falls back to .notdef glyphs and the overlay rendered as □ □ □ boxes in production. Install fontconfig + fonts-dejavu-core in both Dockerfiles and use "DejaVu Sans" explicitly in the SVG. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
claudfuen
pushed a commit
that referenced
this pull request
Apr 24, 2026
## [3.32.1](v3.32.0...v3.32.1) (2026-04-24) ### Bug Fixes * **browserbase:** install DejaVu Sans so overlay text renders in production ([#2659](#2659)) ([1d87427](1d87427)) * **device-agent:** dedicated long-lived session per install (CS-280) ([48fd4ab](48fd4ab)) * fix issue with document underscore when creating framework ([05f44eb](05f44eb))
Contributor
|
🎉 This PR is included in version 3.32.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
This is an automated pull request to merge mariano/fix-screenshot-overlay-font-rendering into dev.
It was created by the [Auto Pull Request] action.
Summary by cubic
Fixes broken text rendering in the screenshot overlay by installing system fonts in the API images and using
DejaVu Sansin the SVG. Overlay text now renders correctly in production instead of square boxes.fontconfigandfonts-dejavu-coreinapps/apiDockerfiles to provideDejaVu Sansat runtime (node:*-slimhas no fonts)."DejaVu Sans", sans-serifinscreenshot-overlay.tsto match available fonts and avoid.notdefboxes fromlibrsvg/sharp.Written for commit d191dd1. Summary will update on new commits.