PNG export omits TEXT nodes (blank where text should render)
Author: phongasterCreated Sep 10, 2026Updated Sep 18, 2026
Summary
When rasterizing a frame to PNG with openpencil export, TEXT nodes are omitted — every glyph is missing from the output, while all other content (shapes, fills, gradients, strokes, positions, layout) renders correctly.
Environment
@open-pencil/cli0.14.0- macOS (Darwin)
- Source document: a
.fig(Figma "Save Local Copy" export)
Command
openpencil export document.fig --node <FRAME_ID> --scale 2 -f png -o out.pngObserved
In the resulting PNG, the frame's rectangles, ellipses, gradients and strokes are all rendered at the correct positions and sizes — but no text is drawn. For example:
- a circular badge that contains a short text label exports as an empty circle
- a rounded "pill" containing a caption exports as an empty rounded rectangle
- button labels are blank
Expected
Text nodes rendered as glyphs, matching the design.
Notes
- Text is also missing at
--scale 1, so it is not a scaling issue. - Non-text vector content is faithful, so geometry/paint work — it appears specific to the text rasterization path.
- I have not yet confirmed whether
-f svgpreserves<text>; happy to test if useful. - Fonts referenced by the document are standard system / common Japanese faces; a missing-font fallback would still be expected to draw something, but the glyphs are entirely absent.
Source: open-pencil/open-pencil