1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Pure logic for `zenith render`.
//!
//! Public entry points:
//! - [`to_scene_json`] — parse → validate → compile → scene JSON string.
//! - [`to_png`] — parse → validate → compile → PNG bytes (no assets).
//! - [`to_png_with_dir`] — like `to_png`, with asset directory, lock, and policy flags.
//! - [`to_pdf_with_dir`] — parse → validate → compile → PDF bytes (one page).
//! - [`to_pdf_all_pages_with_dir`] — render every page into one multi-page PDF.
//! - [`to_png_all_pages`] — render every page to PNG.
//! - [`to_png_spread`] — render a two-page spread to PNG.
//!
//! All operate entirely on in-memory source text; the caller is responsible
//! for all filesystem I/O.
//!
//! This module is split across concern-grouped submodules:
//! - `entry` — the error type, render artifacts, and the public entry points.
//! - `assets` — font/asset provider construction and disk-based diagnostics.
//! - `pipeline` — shared parse/validate/page-resolution/hash helpers.
//! - [`data_input`] — load a [`DataContext`](zenith_core::DataContext) from a JSON or CSV file (`--data`).
pub use collect_image_dimension_diagnostics;
pub use ;
pub use ;
pub use ;
pub use resolve_text_sources;