Skip to content

docs(editor): document font Export Behavior (Automatic/Force Export/Prevent Export)#742

Open
MazzeiMotion wants to merge 2 commits into
rive-app:mainfrom
MazzeiMotion:docs/fonts-export-behavior
Open

docs(editor): document font Export Behavior (Automatic/Force Export/Prevent Export)#742
MazzeiMotion wants to merge 2 commits into
rive-app:mainfrom
MazzeiMotion:docs/fonts-export-behavior

Conversation

@MazzeiMotion

Copy link
Copy Markdown
Contributor

Summary

The Fonts page's Export Options documents the Type field (Embedded / Referenced / Hosted) but not the separate Behavior field. The Behavior options are only defined on the Libraries page, so font authors setting "Prevent Export" have no in-context explanation — and no warning that it strips the font's asset reference and breaks runtime-supplied referenced fonts.

Change

  • editor/text/fonts.mdx: add an Export Behavior subsection under Export Options defining Automatic / Force Export / Prevent Export for fonts, plus a <Warning> noting that Prevent Export removes the asset reference entirely, so the runtime asset loader is never called and any text using the font renders blank.

Source

Behavior definitions adapted from the Libraries page; runtime impact confirmed against the web asset-loader API and observed behavior (a font set to Referenced + Prevent Export produces no font asset for the runtime to load).

@MazzeiMotion MazzeiMotion requested a review from a team as a code owner June 18, 2026 02:21
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