Skip to content

Fix standard-font previews in the Playground and local project examples - #72

Merged
krflol merged 2 commits into
mainfrom
fix/playground-standard-font-previews
Oct 7, 2026
Merged

krflol merged 2 commits into
mainfrom
fix/playground-standard-font-previews

Conversation

@krflol

@krflol krflol commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Pasting a template that uses unembedded Helvetica, Times, or Courier into the Playground produces a valid PDF with a blank preview on engine 2.5.8. Pin the Playground, exported Python projects, and documented Rust examples to released engine 2.5.11 so each path renders visible text and keeps matching output. Update the homepage Rust install command and release link. Publish the compiled preview-font licenses and include the combined notice file in the asset hash record.

Add a shared regression fixture for all 12 Latin standard-font faces. Native/WASI and project-export checks require ink in every row; an independent PDF reader verifies that the faces remain unembedded and text is intact. The Rust walkthrough replays all eight Playground fixtures. The new pixel check rejects the captured old public preview.

Validation: all eight fixtures match between the native adapter, WASI, exported Python projects, and Rust examples on Windows. The standard-font PDF bytes are unchanged while the preview gains visible text. The browser-downloaded ZIP exactly matches the replayed project. Existing sample text and page counts are preserved; small pixel changes were visually reviewed. Actual sample downloads, page navigation, and layouts passed at 1440, 390, and 320 pixels without document-upload requests. Strict site build and link checks passed. The retained local summary is playground/standard-font-preview-verification.json.

@krflol krflol changed the title Fix standard-font previews in the Playground and exported projects Fix standard-font previews in the Playground and local project examples Oct 7, 2026
@krflol
krflol merged commit 0d08449 into main Oct 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant