Frequently asked questions

Answers about DocStudio: what it is, whether it is a PDF library, licensing, React requirements, browser support, security, fonts and Arabic support.

Is DocStudio a PDF library?

It is a document composition and rendering engine. HTML and CSS are the canonical output. PDF is produced by printing that HTML, either in the browser or with Chromium on a server. It does not draw PDF primitives itself.

Do I need the visual designer?

No. Templates are JSON, and you can write them by hand or generate them. The core and renderer have no React dependency.

Do I need a server?

Not for HTML output or browser printing. You need a Node server with Playwright and Chromium only for server-generated PDF files.

Does it need React?

Only the designer does. React 18 or later is an optional peer dependency.

What license is it under?

MIT. See license.

Which browsers are supported?

The designer is tested in Chromium. Firefox and WebKit are partially tested. Rendered HTML and CSS is standard and does not need the designer.

How are templates secured?

Templates and data are treated as untrusted. Expressions are a declarative AST with a closed function set and are never evaluated as JavaScript. Text is escaped, only whitelisted CSS properties are written, and images must be asset: identifiers or https URLs. See templates.

Can I add my own functions or components?

You can register your own formatters and host components. The expression function set is closed. Host components are trusted code.

Does it support Arabic and Urdu?

Yes, with right-to-left layout, locale-aware formatting and your own fonts. PDF text extraction for these scripts is lossy. See right-to-left support.

Where is my data stored?

DocStudio stores nothing. The designer does not save anything by itself, and your application decides where templates live.

How do I report a bug?

Open an issue on GitHub. Report security problems privately rather than in a public issue.

Is it production ready?

It is a 0.x release. Public entry points follow semantic versioning with the pre-1.0 caveat, and the known limitations are listed. Evaluate it against your own documents and fonts.

Last updated 2026-12-03