fullbleed 2.5.7__tar.gz → 2.5.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fullbleed-2.5.7 → fullbleed-2.5.9}/Cargo.lock +1 -1
- {fullbleed-2.5.7 → fullbleed-2.5.9}/Cargo.toml +1 -1
- {fullbleed-2.5.7 → fullbleed-2.5.9}/PKG-INFO +39 -10
- {fullbleed-2.5.7 → fullbleed-2.5.9}/README.md +38 -9
- {fullbleed-2.5.7 → fullbleed-2.5.9}/fullbleed-agent-contract.json +1 -1
- {fullbleed-2.5.7 → fullbleed-2.5.9}/llms.txt +1 -1
- {fullbleed-2.5.7 → fullbleed-2.5.9}/pyproject.toml +1 -1
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/base14_metrics.rs +2 -2
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/flowable.rs +76 -1
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/font.rs +238 -29
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/html.rs +202 -4
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/lib.rs +53 -11
- {fullbleed-2.5.7 → fullbleed-2.5.9}/COPYRIGHT +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/FONT_LICENSE_AUDIT.json +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/FONT_LICENSE_AUDIT.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/LICENSE +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/LICENSING.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/THIRD_PARTY_LICENSES.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/build.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/build_backend/fullbleed_build_backend.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/Cargo.lock +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/Cargo.toml +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/LICENSE +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/README.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/specs/fullbleed.audit_registry.v1.yaml +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/specs/section508_html_registry.v1.yaml +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/specs/wcag20aa_registry.v1.yaml +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/src/json.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/src/lib.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/crates/fullbleed_audit_contract/src/sha256.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/docs/specs/fullbleed.a11y.verify.v1.schema.json +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/docs/specs/fullbleed.audit_registry.v1.yaml +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/docs/specs/fullbleed.pmr.v1.schema.json +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/docs/specs/section508_html_registry.v1.yaml +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/docs/specs/wcag20aa_registry.v1.yaml +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/__init__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/__main__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/_abi.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/accessibility/__init__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/accessibility/engine.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/accessibility/runtime.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/accessibility/types.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/audit_prototype.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/audit_section508.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/audit_wcag.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/__init__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/accessibility.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/__init__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/_core.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/agency_letter.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/court_motion_form.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/declaration_form.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/instruction_sheet.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/investment_portfolio_report.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/marriage_record.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/profiles.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/recorded_plat.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/redaction_request_form.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/cav/warranty_deed.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/core.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/primitives.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed/ui/style.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_assets/__init__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_assets/bootstrap.min.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_assets/fonts/Inter-Variable.ttf +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_assets/fonts/NotoSans-Regular.ttf +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_assets/fonts/NotoSansMath-Regular.ttf +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_assets/fonts/NotoSansSymbols-Regular.ttf +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_assets/fonts/NotoSansSymbols2-Regular.ttf +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_assets/icons/bootstrap-icons.svg +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/__init__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/__main__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/agent.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/agent_acceptance.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/agent_contract.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/assets.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/cache.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/cli.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/finalize.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/mcp.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/__init__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/.gitignore +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/AGENTS.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/COMPLIANCE.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/SCAFFOLDING.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/__init__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/body.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/fb_ui.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/footer.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/header.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/primitives.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/styles/body.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/styles/footer.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/styles/header.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/components/styles/primitives.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/report.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/styles/report.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/init/styles/tokens.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/accessible/README.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/accessible/output/.gitignore +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/accessible/output/.gitkeep +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/accessible/report.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/accessible/styles/report.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/accessible/vendor/fonts/Inter-Variable.ttf +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/invoice/output/.gitignore +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/invoice/output/.gitkeep +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/invoice/report.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/invoice/templates/invoice.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/invoice/templates/invoice.html +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/COMPLIANCE.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/README.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/SCAFFOLDING.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/assets/brand-mark.svg +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/assets/reference-pattern.svg +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/__init__.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/appendix.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/architecture.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/cover.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/data_pages.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/fb_ui.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/primitives.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/styles/appendix.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/styles/architecture.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/styles/cover.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/styles/data.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/styles/primitives.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/styles/visuals.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/components/visuals.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/data/reference.json +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/output/.gitignore +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/report.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/styles/report.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/reference/styles/tokens.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/statement/output/.gitignore +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/statement/output/.gitkeep +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/statement/report.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/statement/templates/statement.css +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/scaffold_templates/new/statement/templates/statement.html +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/python/fullbleed_cli/watch.py +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/skills/fullbleed/SKILL.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/skills/fullbleed/agents/openai.yaml +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/skills/fullbleed/references/compliance.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/skills/fullbleed/references/selection.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/skills/fullbleed/references/workflows.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/assets.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/authoring.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/base14_metrics_data.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/base64.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/canvas.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/chart.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/chart_document.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/css_native.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/css_queries.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/debug.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/doc_context.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/doc_template.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/document_metadata.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/error.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/finalize.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/flate_native.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/font_subset/cmap.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/font_subset.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/frame.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/glyph_report.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/html_dom.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/html_entities.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/html_entities_0.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/html_entities_1.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/html_entities_2.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/html_entities_3.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/html_entities_4.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/html_entities_5.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/icc.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/image_native.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/jit.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/jpeg_native.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/math.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/metrics.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/native_shape.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/page_data.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/page_template.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/parallel.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_encodings.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_identity.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_native.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_print_contract.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_profile.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_raster/forms.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_raster/shading/radial_bands.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_raster/shading/tests.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_raster/shading.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_raster.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_table.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_vt.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdf_vt_inspect.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/pdfinspect.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/perf.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/plan.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/python/abi_exports.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/python/pdf_vt.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/python.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/python_abi.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/raster.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/raster_native.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/sfnt.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/sfnt_cff.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/sfnt_outline.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/spill.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/style.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/svg.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/table_header_tests.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/table_semantics.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/text_shape.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/types.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/unicode_data.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/src/xml.rs +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Courier-Bold.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Courier-BoldOblique.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Courier-Oblique.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Courier.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Helvetica-Bold.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Helvetica-BoldOblique.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Helvetica-Oblique.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Helvetica.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/MustRead.html +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Symbol.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Times-Bold.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Times-BoldItalic.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Times-Italic.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/Times-Roman.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/ZapfDingbats.afm +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/agl-LICENSE.md +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/agl-glyphlist.txt +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/agl-zapfdingbats.txt +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/data/base14/sources.json +0 -0
- {fullbleed-2.5.7 → fullbleed-2.5.9}/tools/generate_base14_metrics.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fullbleed
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.9
|
|
4
4
|
Classifier: Development Status :: 5 - Production/Stable
|
|
5
5
|
Classifier: License :: OSI Approved :: MIT License
|
|
6
6
|
Classifier: Operating System :: MacOS
|
|
@@ -44,9 +44,9 @@ Project-URL: Repository, https://github.com/fullbleed-engine/fullbleed-official
|
|
|
44
44
|
<!-- SPDX-License-Identifier: MIT -->
|
|
45
45
|
# Fullbleed PDF Engine
|
|
46
46
|
|
|
47
|
-
**Create PDFs from HTML and CSS in Python, Rust, Node.js, and
|
|
47
|
+
**Create PDFs from HTML and CSS in Python, Rust, Node.js, C#, and browser JavaScript. MIT licensed.**
|
|
48
48
|
|
|
49
|
-
Build invoices, reports, statements, and variable-data print jobs with a deterministic Rust engine. Use the native Rust API, the Python package, or the optional
|
|
49
|
+
Build invoices, reports, statements, and variable-data print jobs with a deterministic Rust engine. Use the native Rust API, the Python package, or the optional JavaScript and .NET integrations. The Python wheel includes the engine, fonts, and CLI with no required third-party Python packages or system PDF stack. The JavaScript package includes the WebAssembly engine and fonts for Node.js and browser workers; the .NET package includes native libraries for in-process rendering.
|
|
50
50
|
|
|
51
51
|
[Try in your browser](https://docs.fullbleed.dev/playground/) · [Documentation](https://docs.fullbleed.dev/) · [Examples](https://docs.fullbleed.dev/examples/) · [PyPI](https://pypi.org/project/fullbleed/) · [crates.io](https://crates.io/crates/fullbleed) · [npm](https://www.npmjs.com/package/fullbleed) · [Release notes](https://github.com/fullbleed-engine/fullbleed-official/releases) · [MIT license](LICENSE)
|
|
52
52
|
|
|
@@ -55,7 +55,7 @@ Build invoices, reports, statements, and variable-data print jobs with a determi
|
|
|
55
55
|
<a href="https://docs.fullbleed.dev/assets/showcase/report.pdf"><img src="https://docs.fullbleed.dev/assets/showcase/report-1.png" width="48%" alt="Common Ground community report rendered by Fullbleed, with a vector landscape illustration and editorial layout"></a>
|
|
56
56
|
</p>
|
|
57
57
|
|
|
58
|
-
Actual Fullbleed output. Open either preview for its PDF, or [explore
|
|
58
|
+
Actual Fullbleed output. Open either preview for its PDF, or [explore the designed examples with HTML/CSS, data, and font setup](https://docs.fullbleed.dev/examples/).
|
|
59
59
|
|
|
60
60
|
## Choose your language
|
|
61
61
|
|
|
@@ -64,10 +64,13 @@ Actual Fullbleed output. Open either preview for its PDF, or [explore all four d
|
|
|
64
64
|
| Python | `python -m pip install fullbleed` | [Python quickstart](https://docs.fullbleed.dev/getting-started/quickstart/) |
|
|
65
65
|
| Rust | `cargo add fullbleed` | [Native Rust quickstart](https://docs.fullbleed.dev/getting-started/rust/) |
|
|
66
66
|
| Node.js / TypeScript | `npm install fullbleed` | [Node quickstart](https://docs.fullbleed.dev/getting-started/node/) · [Next.js PDF download](https://docs.fullbleed.dev/guides/nextjs-pdf/) |
|
|
67
|
-
|
|
|
67
|
+
| Browser JavaScript | `npm install --save-exact fullbleed@0.3.0` | [Browser SDK and runnable starter](https://docs.fullbleed.dev/guides/browser-pdf/) · [Live editor](https://docs.fullbleed.dev/assets/browser-demo/index.html) |
|
|
68
|
+
| C# / .NET | `dotnet add package FullBleed.DotNet --version 0.1.4` | [C# quickstart and designed invoice](https://docs.fullbleed.dev/getting-started/dotnet/) |
|
|
68
69
|
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
JavaScript package 0.3.0 uses engine 2.5.8 and covers ordinary PDFs and previews
|
|
71
|
+
in Node.js and browser workers. Import `fullbleed` in Node or `fullbleed/browser`
|
|
72
|
+
in a web app. Node rendering also supports optional process isolation.
|
|
73
|
+
FullBleed.DotNet 0.1.4 also uses engine 2.5.8. Its managed library targets .NET 8 and works with .NET 8, 9, and 10 applications, with native rendering, compiled bindings, and previews. Its separate CLI adapter requires the Python CLI.
|
|
71
74
|
The Python package provides the complete CLI, including compiled variable-data jobs and print profiles; the Rust guide covers the native API.
|
|
72
75
|
|
|
73
76
|
## Your first PDF
|
|
@@ -115,13 +118,34 @@ await writeFile('invoice.png', result.previews[0]);
|
|
|
115
118
|
|
|
116
119
|
Open `invoice.pdf` or its PNG preview. The [Node.js quickstart](https://docs.fullbleed.dev/getting-started/node/) includes a downloadable designed invoice project. The separate [Node package](https://github.com/fullbleed-engine/fullbleed-node) supports ESM, CommonJS, and TypeScript. For an application route, use the [Next.js starter](https://docs.fullbleed.dev/guides/nextjs-pdf/).
|
|
117
120
|
|
|
121
|
+
### Browser JavaScript
|
|
122
|
+
|
|
123
|
+
[Try the editable browser app](https://docs.fullbleed.dev/assets/browser-demo/index.html)
|
|
124
|
+
to generate an invoice or report, change its HTML/CSS, and download the PDF.
|
|
125
|
+
Rendering runs locally in a Web Worker; the starter does not upload document
|
|
126
|
+
inputs to a rendering service.
|
|
127
|
+
|
|
128
|
+
To build on it, [download the complete project](https://docs.fullbleed.dev/assets/browser-starter/project.zip).
|
|
129
|
+
Extract the ZIP, open a terminal in `fullbleed-browser-starter`, and use Node.js
|
|
130
|
+
22.12 or newer for the development tools:
|
|
131
|
+
|
|
132
|
+
```sh
|
|
133
|
+
npm ci
|
|
134
|
+
npm run dev
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Open the localhost URL printed by Vite. The [browser guide](https://docs.fullbleed.dev/guides/browser-pdf/)
|
|
138
|
+
explains adding `fullbleed/browser` to an existing app, serving its runtime
|
|
139
|
+
assets over HTTPS or localhost, cancellation, custom fonts, and static deployment.
|
|
140
|
+
This renders supplied static HTML/CSS; it does not capture a live browser page.
|
|
141
|
+
|
|
118
142
|
### Rust
|
|
119
143
|
|
|
120
|
-
Start with the [native Rust quickstart](https://docs.fullbleed.dev/getting-started/rust/). The [`fullbleed` crate](https://crates.io/crates/fullbleed) exposes `FullBleed::builder()` and `render_to_buffer(...)`, with no Python requirement. The guide includes runnable invoice and report examples with explicit fonts and PNG previews, plus the [Rust API reference](https://docs.rs/fullbleed/
|
|
144
|
+
Start with the [native Rust quickstart](https://docs.fullbleed.dev/getting-started/rust/). The [`fullbleed` crate](https://crates.io/crates/fullbleed) exposes `FullBleed::builder()` and `render_to_buffer(...)`, with no Python requirement. The guide includes runnable invoice and report examples with explicit fonts and PNG previews, plus the [latest hosted Rust API reference](https://docs.rs/fullbleed/latest/fullbleed/).
|
|
121
145
|
|
|
122
146
|
### C# and .NET
|
|
123
147
|
|
|
124
|
-
Install [`FullBleed.DotNet`](https://www.nuget.org/packages/FullBleed.DotNet/0.1.
|
|
148
|
+
Install [`FullBleed.DotNet`](https://www.nuget.org/packages/FullBleed.DotNet/0.1.4) in a .NET 8, 9, or 10 project and follow the [C# quickstart](https://docs.fullbleed.dev/getting-started/dotnet/). The guide includes a runnable invoice with explicit fonts and HTML/CSS source. Native rendering runs inside the .NET process on Windows x64, Linux x64, Intel macOS, and Apple Silicon macOS, without a Python or browser runtime.
|
|
125
149
|
|
|
126
150
|
## Choose your starting point
|
|
127
151
|
|
|
@@ -130,6 +154,7 @@ Install [`FullBleed.DotNet`](https://www.nuget.org/packages/FullBleed.DotNet/0.1
|
|
|
130
154
|
| Distinctive invoices, reports, notices, and statements | [Designed showcase with fonts and source](examples/design_showcase) |
|
|
131
155
|
| A native Rust application | [Rust quickstart and runnable examples](https://docs.fullbleed.dev/getting-started/rust/) |
|
|
132
156
|
| A Node.js or TypeScript application | [Node quickstart and designed invoice project](https://docs.fullbleed.dev/getting-started/node/) |
|
|
157
|
+
| PDFs generated in your web application's browser | [Browser worker SDK, editable demo, and complete project](https://docs.fullbleed.dev/guides/browser-pdf/) |
|
|
133
158
|
| A C# or .NET application | [NuGet quickstart and designed invoice](https://docs.fullbleed.dev/getting-started/dotnet/) |
|
|
134
159
|
| An invoice from JSON | [Complete, checked example](examples/agent_workflows) |
|
|
135
160
|
| Automatic rebuilds while editing HTML/CSS (2.5.0+) | [Watch-mode invoice example](examples/render_watch) |
|
|
@@ -137,6 +162,7 @@ Install [`FullBleed.DotNet`](https://www.nuget.org/packages/FullBleed.DotNet/0.1
|
|
|
137
162
|
| A PDF download in FastAPI, Flask, or Django | [Runnable web app examples](examples/web_frameworks) |
|
|
138
163
|
| A styled PDF report from a pandas DataFrame | [Paginated report with CSV data and verification](examples/pandas_report) |
|
|
139
164
|
| A styled invoice from CSV | [Acme invoice project](examples/acme_invoice) |
|
|
165
|
+
| Simplified Chinese and English in one PDF | [Bilingual invoice with explicit fonts and glyph checks](https://docs.fullbleed.dev/guides/chinese-pdf/) |
|
|
140
166
|
| A report that flows across pages | [Business report example](examples/agent_workflows) |
|
|
141
167
|
| Tagged output with accessibility checks | [Accessibility workflow](docs/ui-accessibility.md) |
|
|
142
168
|
| Many documents from one template | [Fixed and reflowing variable-data examples](examples/agent_workflows) |
|
|
@@ -312,7 +338,7 @@ python -m pip install fullbleed
|
|
|
312
338
|
From a local wheel:
|
|
313
339
|
|
|
314
340
|
```bash
|
|
315
|
-
python -m pip install C:\path\to\fullbleed-2.5.
|
|
341
|
+
python -m pip install C:\path\to\fullbleed-2.5.9-cp310-abi3-win_amd64.whl
|
|
316
342
|
```
|
|
317
343
|
|
|
318
344
|
From a source checkout with Rust installed, no Python build package is needed:
|
|
@@ -1136,6 +1162,9 @@ PdfEngine(
|
|
|
1136
1162
|
)
|
|
1137
1163
|
```
|
|
1138
1164
|
|
|
1165
|
+
For regular/italic family selection and exact face mappings, see
|
|
1166
|
+
[Registering fonts](docs/font-registration.md).
|
|
1167
|
+
|
|
1139
1168
|
Module exports:
|
|
1140
1169
|
|
|
1141
1170
|
- `PdfEngine`
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<!-- SPDX-License-Identifier: MIT -->
|
|
2
2
|
# Fullbleed PDF Engine
|
|
3
3
|
|
|
4
|
-
**Create PDFs from HTML and CSS in Python, Rust, Node.js, and
|
|
4
|
+
**Create PDFs from HTML and CSS in Python, Rust, Node.js, C#, and browser JavaScript. MIT licensed.**
|
|
5
5
|
|
|
6
|
-
Build invoices, reports, statements, and variable-data print jobs with a deterministic Rust engine. Use the native Rust API, the Python package, or the optional
|
|
6
|
+
Build invoices, reports, statements, and variable-data print jobs with a deterministic Rust engine. Use the native Rust API, the Python package, or the optional JavaScript and .NET integrations. The Python wheel includes the engine, fonts, and CLI with no required third-party Python packages or system PDF stack. The JavaScript package includes the WebAssembly engine and fonts for Node.js and browser workers; the .NET package includes native libraries for in-process rendering.
|
|
7
7
|
|
|
8
8
|
[Try in your browser](https://docs.fullbleed.dev/playground/) · [Documentation](https://docs.fullbleed.dev/) · [Examples](https://docs.fullbleed.dev/examples/) · [PyPI](https://pypi.org/project/fullbleed/) · [crates.io](https://crates.io/crates/fullbleed) · [npm](https://www.npmjs.com/package/fullbleed) · [Release notes](https://github.com/fullbleed-engine/fullbleed-official/releases) · [MIT license](LICENSE)
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ Build invoices, reports, statements, and variable-data print jobs with a determi
|
|
|
12
12
|
<a href="https://docs.fullbleed.dev/assets/showcase/report.pdf"><img src="https://docs.fullbleed.dev/assets/showcase/report-1.png" width="48%" alt="Common Ground community report rendered by Fullbleed, with a vector landscape illustration and editorial layout"></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
|
-
Actual Fullbleed output. Open either preview for its PDF, or [explore
|
|
15
|
+
Actual Fullbleed output. Open either preview for its PDF, or [explore the designed examples with HTML/CSS, data, and font setup](https://docs.fullbleed.dev/examples/).
|
|
16
16
|
|
|
17
17
|
## Choose your language
|
|
18
18
|
|
|
@@ -21,10 +21,13 @@ Actual Fullbleed output. Open either preview for its PDF, or [explore all four d
|
|
|
21
21
|
| Python | `python -m pip install fullbleed` | [Python quickstart](https://docs.fullbleed.dev/getting-started/quickstart/) |
|
|
22
22
|
| Rust | `cargo add fullbleed` | [Native Rust quickstart](https://docs.fullbleed.dev/getting-started/rust/) |
|
|
23
23
|
| Node.js / TypeScript | `npm install fullbleed` | [Node quickstart](https://docs.fullbleed.dev/getting-started/node/) · [Next.js PDF download](https://docs.fullbleed.dev/guides/nextjs-pdf/) |
|
|
24
|
-
|
|
|
24
|
+
| Browser JavaScript | `npm install --save-exact fullbleed@0.3.0` | [Browser SDK and runnable starter](https://docs.fullbleed.dev/guides/browser-pdf/) · [Live editor](https://docs.fullbleed.dev/assets/browser-demo/index.html) |
|
|
25
|
+
| C# / .NET | `dotnet add package FullBleed.DotNet --version 0.1.4` | [C# quickstart and designed invoice](https://docs.fullbleed.dev/getting-started/dotnet/) |
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
JavaScript package 0.3.0 uses engine 2.5.8 and covers ordinary PDFs and previews
|
|
28
|
+
in Node.js and browser workers. Import `fullbleed` in Node or `fullbleed/browser`
|
|
29
|
+
in a web app. Node rendering also supports optional process isolation.
|
|
30
|
+
FullBleed.DotNet 0.1.4 also uses engine 2.5.8. Its managed library targets .NET 8 and works with .NET 8, 9, and 10 applications, with native rendering, compiled bindings, and previews. Its separate CLI adapter requires the Python CLI.
|
|
28
31
|
The Python package provides the complete CLI, including compiled variable-data jobs and print profiles; the Rust guide covers the native API.
|
|
29
32
|
|
|
30
33
|
## Your first PDF
|
|
@@ -72,13 +75,34 @@ await writeFile('invoice.png', result.previews[0]);
|
|
|
72
75
|
|
|
73
76
|
Open `invoice.pdf` or its PNG preview. The [Node.js quickstart](https://docs.fullbleed.dev/getting-started/node/) includes a downloadable designed invoice project. The separate [Node package](https://github.com/fullbleed-engine/fullbleed-node) supports ESM, CommonJS, and TypeScript. For an application route, use the [Next.js starter](https://docs.fullbleed.dev/guides/nextjs-pdf/).
|
|
74
77
|
|
|
78
|
+
### Browser JavaScript
|
|
79
|
+
|
|
80
|
+
[Try the editable browser app](https://docs.fullbleed.dev/assets/browser-demo/index.html)
|
|
81
|
+
to generate an invoice or report, change its HTML/CSS, and download the PDF.
|
|
82
|
+
Rendering runs locally in a Web Worker; the starter does not upload document
|
|
83
|
+
inputs to a rendering service.
|
|
84
|
+
|
|
85
|
+
To build on it, [download the complete project](https://docs.fullbleed.dev/assets/browser-starter/project.zip).
|
|
86
|
+
Extract the ZIP, open a terminal in `fullbleed-browser-starter`, and use Node.js
|
|
87
|
+
22.12 or newer for the development tools:
|
|
88
|
+
|
|
89
|
+
```sh
|
|
90
|
+
npm ci
|
|
91
|
+
npm run dev
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Open the localhost URL printed by Vite. The [browser guide](https://docs.fullbleed.dev/guides/browser-pdf/)
|
|
95
|
+
explains adding `fullbleed/browser` to an existing app, serving its runtime
|
|
96
|
+
assets over HTTPS or localhost, cancellation, custom fonts, and static deployment.
|
|
97
|
+
This renders supplied static HTML/CSS; it does not capture a live browser page.
|
|
98
|
+
|
|
75
99
|
### Rust
|
|
76
100
|
|
|
77
|
-
Start with the [native Rust quickstart](https://docs.fullbleed.dev/getting-started/rust/). The [`fullbleed` crate](https://crates.io/crates/fullbleed) exposes `FullBleed::builder()` and `render_to_buffer(...)`, with no Python requirement. The guide includes runnable invoice and report examples with explicit fonts and PNG previews, plus the [Rust API reference](https://docs.rs/fullbleed/
|
|
101
|
+
Start with the [native Rust quickstart](https://docs.fullbleed.dev/getting-started/rust/). The [`fullbleed` crate](https://crates.io/crates/fullbleed) exposes `FullBleed::builder()` and `render_to_buffer(...)`, with no Python requirement. The guide includes runnable invoice and report examples with explicit fonts and PNG previews, plus the [latest hosted Rust API reference](https://docs.rs/fullbleed/latest/fullbleed/).
|
|
78
102
|
|
|
79
103
|
### C# and .NET
|
|
80
104
|
|
|
81
|
-
Install [`FullBleed.DotNet`](https://www.nuget.org/packages/FullBleed.DotNet/0.1.
|
|
105
|
+
Install [`FullBleed.DotNet`](https://www.nuget.org/packages/FullBleed.DotNet/0.1.4) in a .NET 8, 9, or 10 project and follow the [C# quickstart](https://docs.fullbleed.dev/getting-started/dotnet/). The guide includes a runnable invoice with explicit fonts and HTML/CSS source. Native rendering runs inside the .NET process on Windows x64, Linux x64, Intel macOS, and Apple Silicon macOS, without a Python or browser runtime.
|
|
82
106
|
|
|
83
107
|
## Choose your starting point
|
|
84
108
|
|
|
@@ -87,6 +111,7 @@ Install [`FullBleed.DotNet`](https://www.nuget.org/packages/FullBleed.DotNet/0.1
|
|
|
87
111
|
| Distinctive invoices, reports, notices, and statements | [Designed showcase with fonts and source](examples/design_showcase) |
|
|
88
112
|
| A native Rust application | [Rust quickstart and runnable examples](https://docs.fullbleed.dev/getting-started/rust/) |
|
|
89
113
|
| A Node.js or TypeScript application | [Node quickstart and designed invoice project](https://docs.fullbleed.dev/getting-started/node/) |
|
|
114
|
+
| PDFs generated in your web application's browser | [Browser worker SDK, editable demo, and complete project](https://docs.fullbleed.dev/guides/browser-pdf/) |
|
|
90
115
|
| A C# or .NET application | [NuGet quickstart and designed invoice](https://docs.fullbleed.dev/getting-started/dotnet/) |
|
|
91
116
|
| An invoice from JSON | [Complete, checked example](examples/agent_workflows) |
|
|
92
117
|
| Automatic rebuilds while editing HTML/CSS (2.5.0+) | [Watch-mode invoice example](examples/render_watch) |
|
|
@@ -94,6 +119,7 @@ Install [`FullBleed.DotNet`](https://www.nuget.org/packages/FullBleed.DotNet/0.1
|
|
|
94
119
|
| A PDF download in FastAPI, Flask, or Django | [Runnable web app examples](examples/web_frameworks) |
|
|
95
120
|
| A styled PDF report from a pandas DataFrame | [Paginated report with CSV data and verification](examples/pandas_report) |
|
|
96
121
|
| A styled invoice from CSV | [Acme invoice project](examples/acme_invoice) |
|
|
122
|
+
| Simplified Chinese and English in one PDF | [Bilingual invoice with explicit fonts and glyph checks](https://docs.fullbleed.dev/guides/chinese-pdf/) |
|
|
97
123
|
| A report that flows across pages | [Business report example](examples/agent_workflows) |
|
|
98
124
|
| Tagged output with accessibility checks | [Accessibility workflow](docs/ui-accessibility.md) |
|
|
99
125
|
| Many documents from one template | [Fixed and reflowing variable-data examples](examples/agent_workflows) |
|
|
@@ -269,7 +295,7 @@ python -m pip install fullbleed
|
|
|
269
295
|
From a local wheel:
|
|
270
296
|
|
|
271
297
|
```bash
|
|
272
|
-
python -m pip install C:\path\to\fullbleed-2.5.
|
|
298
|
+
python -m pip install C:\path\to\fullbleed-2.5.9-cp310-abi3-win_amd64.whl
|
|
273
299
|
```
|
|
274
300
|
|
|
275
301
|
From a source checkout with Rust installed, no Python build package is needed:
|
|
@@ -1093,6 +1119,9 @@ PdfEngine(
|
|
|
1093
1119
|
)
|
|
1094
1120
|
```
|
|
1095
1121
|
|
|
1122
|
+
For regular/italic family selection and exact face mappings, see
|
|
1123
|
+
[Registering fonts](docs/font-registration.md).
|
|
1124
|
+
|
|
1096
1125
|
Module exports:
|
|
1097
1126
|
|
|
1098
1127
|
- `PdfEngine`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Fullbleed PDF Engine
|
|
2
2
|
|
|
3
|
-
> Fullbleed 2.5.
|
|
3
|
+
> Fullbleed 2.5.9 is a deterministic, self-contained document-generation runtime for Python and Rust. It turns structured data plus static HTML/CSS into validated PDF documents without a browser.
|
|
4
4
|
|
|
5
5
|
The installed runtime is authoritative. Do not infer its API from this file or from remembered release knowledge. Start with:
|
|
6
6
|
|
|
@@ -5,7 +5,7 @@ backend-path = ["build_backend"]
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "fullbleed"
|
|
8
|
-
version = "2.5.
|
|
8
|
+
version = "2.5.9"
|
|
9
9
|
description = "Deterministic Python PDF engine for reports, invoices, accessible documents, print-ready output, and compiled VDP"
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.10"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! Standard 14 font metrics for
|
|
1
|
+
//! Standard 14 font metrics for PDF text positions and inline word advances.
|
|
2
2
|
//!
|
|
3
3
|
//! This module supplies advances and character mappings, not font programs.
|
|
4
|
-
//!
|
|
4
|
+
//! Inline word fragments also use these advances to match whole-string painting.
|
|
5
5
|
|
|
6
6
|
#[path = "base14_metrics_data.rs"]
|
|
7
7
|
mod data;
|
|
@@ -6114,6 +6114,7 @@ pub struct Paragraph {
|
|
|
6114
6114
|
preserve_whitespace: bool,
|
|
6115
6115
|
break_spaces: bool,
|
|
6116
6116
|
no_wrap: bool,
|
|
6117
|
+
measure_inline_word: bool,
|
|
6117
6118
|
suppress_first_line_indent: bool,
|
|
6118
6119
|
snap_each_line_baseline: bool,
|
|
6119
6120
|
round_each_css_line_baseline: bool,
|
|
@@ -6141,6 +6142,7 @@ impl Paragraph {
|
|
|
6141
6142
|
preserve_whitespace: false,
|
|
6142
6143
|
break_spaces: false,
|
|
6143
6144
|
no_wrap: false,
|
|
6145
|
+
measure_inline_word: false,
|
|
6144
6146
|
suppress_first_line_indent: false,
|
|
6145
6147
|
snap_each_line_baseline: false,
|
|
6146
6148
|
round_each_css_line_baseline: false,
|
|
@@ -6169,6 +6171,11 @@ impl Paragraph {
|
|
|
6169
6171
|
self
|
|
6170
6172
|
}
|
|
6171
6173
|
|
|
6174
|
+
pub(crate) fn with_inline_word_measurement(mut self, enabled: bool) -> Self {
|
|
6175
|
+
self.measure_inline_word = enabled;
|
|
6176
|
+
self
|
|
6177
|
+
}
|
|
6178
|
+
|
|
6172
6179
|
pub fn with_align(mut self, align: TextAlign) -> Self {
|
|
6173
6180
|
self.align = align;
|
|
6174
6181
|
self
|
|
@@ -6428,6 +6435,34 @@ impl Paragraph {
|
|
|
6428
6435
|
}
|
|
6429
6436
|
return value;
|
|
6430
6437
|
}
|
|
6438
|
+
if self.measure_inline_word {
|
|
6439
|
+
let (primary, _, _) =
|
|
6440
|
+
resolve_font_stack_with_ranges(self.font_registry.as_deref(), &self.style);
|
|
6441
|
+
let registered = self
|
|
6442
|
+
.font_registry
|
|
6443
|
+
.as_deref()
|
|
6444
|
+
.is_some_and(|registry| registry.resolve(&primary).is_some());
|
|
6445
|
+
if !registered {
|
|
6446
|
+
// A whole built-in-font string paints with the PDF font's real
|
|
6447
|
+
// advances even when legacy paragraph measurement is heuristic.
|
|
6448
|
+
// Separate words must use those same advances, otherwise each
|
|
6449
|
+
// heuristic surplus becomes a visibly oversized inter-word gap.
|
|
6450
|
+
if let Some(font) = crate::base14_metrics::font(&primary) {
|
|
6451
|
+
let base = text.chars().try_fold(Pt::ZERO, |sum, ch| {
|
|
6452
|
+
font.glyph_by_unicode(ch).map(|glyph| {
|
|
6453
|
+
sum + self.style.font_size.mul_ratio(i32::from(glyph.width), 1000)
|
|
6454
|
+
})
|
|
6455
|
+
});
|
|
6456
|
+
if let Some(base) = base {
|
|
6457
|
+
let value = text_width_with_spacing(base, &self.style, text);
|
|
6458
|
+
if let Ok(mut cache) = self.width_cache.lock() {
|
|
6459
|
+
cache.insert(text, value);
|
|
6460
|
+
}
|
|
6461
|
+
return value;
|
|
6462
|
+
}
|
|
6463
|
+
}
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6431
6466
|
if let Some(registry) = &self.font_registry {
|
|
6432
6467
|
let (primary, fallbacks, unicode_ranges) =
|
|
6433
6468
|
resolve_font_stack_with_ranges(Some(registry), &self.style);
|
|
@@ -8584,6 +8619,7 @@ impl Flowable for Paragraph {
|
|
|
8584
8619
|
preserve_whitespace: self.preserve_whitespace,
|
|
8585
8620
|
break_spaces: self.break_spaces,
|
|
8586
8621
|
no_wrap: self.no_wrap,
|
|
8622
|
+
measure_inline_word: self.measure_inline_word,
|
|
8587
8623
|
suppress_first_line_indent: self.suppress_first_line_indent,
|
|
8588
8624
|
snap_each_line_baseline: self.snap_each_line_baseline,
|
|
8589
8625
|
round_each_css_line_baseline: self.round_each_css_line_baseline,
|
|
@@ -8616,6 +8652,7 @@ impl Flowable for Paragraph {
|
|
|
8616
8652
|
preserve_whitespace: self.preserve_whitespace,
|
|
8617
8653
|
break_spaces: self.break_spaces,
|
|
8618
8654
|
no_wrap: self.no_wrap,
|
|
8655
|
+
measure_inline_word: self.measure_inline_word,
|
|
8619
8656
|
suppress_first_line_indent: true,
|
|
8620
8657
|
snap_each_line_baseline: self.snap_each_line_baseline,
|
|
8621
8658
|
round_each_css_line_baseline: self.round_each_css_line_baseline,
|
|
@@ -9411,6 +9448,10 @@ impl CssLineBoxFlowable {
|
|
|
9411
9448
|
}
|
|
9412
9449
|
|
|
9413
9450
|
impl Flowable for CssLineBoxFlowable {
|
|
9451
|
+
fn is_collapsible_inline_space(&self) -> bool {
|
|
9452
|
+
self.child.is_collapsible_inline_space()
|
|
9453
|
+
}
|
|
9454
|
+
|
|
9414
9455
|
fn page_footnotes(&self) -> Vec<PageFootnoteEntry> {
|
|
9415
9456
|
self.child.page_footnotes()
|
|
9416
9457
|
}
|
|
@@ -10280,6 +10321,7 @@ impl Flowable for ScreenReaderTextFlowable {
|
|
|
10280
10321
|
#[derive(Debug, Clone)]
|
|
10281
10322
|
pub(crate) struct CollapsibleSpaceFlowable {
|
|
10282
10323
|
width: Pt,
|
|
10324
|
+
letter_spacing: Pt,
|
|
10283
10325
|
height: Pt,
|
|
10284
10326
|
baseline: Pt,
|
|
10285
10327
|
inline_ascent: Pt,
|
|
@@ -10289,7 +10331,9 @@ pub(crate) struct CollapsibleSpaceFlowable {
|
|
|
10289
10331
|
|
|
10290
10332
|
impl CollapsibleSpaceFlowable {
|
|
10291
10333
|
pub(crate) fn new(style: TextStyle, font_registry: Option<Arc<FontRegistry>>) -> Self {
|
|
10334
|
+
let letter_spacing = style.letter_spacing;
|
|
10292
10335
|
let probe = Paragraph::new(" ")
|
|
10336
|
+
.with_inline_word_measurement(true)
|
|
10293
10337
|
.with_style(style)
|
|
10294
10338
|
.with_font_registry(font_registry);
|
|
10295
10339
|
let width = probe.measure_text_width(" ").max(Pt::ZERO);
|
|
@@ -10302,6 +10346,7 @@ impl CollapsibleSpaceFlowable {
|
|
|
10302
10346
|
.unwrap_or((baseline, (height - baseline).max(Pt::ZERO)));
|
|
10303
10347
|
Self {
|
|
10304
10348
|
width,
|
|
10349
|
+
letter_spacing,
|
|
10305
10350
|
height,
|
|
10306
10351
|
baseline,
|
|
10307
10352
|
inline_ascent,
|
|
@@ -10312,6 +10357,10 @@ impl CollapsibleSpaceFlowable {
|
|
|
10312
10357
|
}
|
|
10313
10358
|
|
|
10314
10359
|
impl Flowable for CollapsibleSpaceFlowable {
|
|
10360
|
+
fn inline_text_edge_letter_spacing(&self) -> Option<Pt> {
|
|
10361
|
+
Some(self.letter_spacing)
|
|
10362
|
+
}
|
|
10363
|
+
|
|
10315
10364
|
fn wrap(&self, _avail_width: Pt, _avail_height: Pt) -> Size {
|
|
10316
10365
|
Size {
|
|
10317
10366
|
width: self.width,
|
|
@@ -17616,6 +17665,10 @@ impl InlineBackgroundFlowable {
|
|
|
17616
17665
|
}
|
|
17617
17666
|
|
|
17618
17667
|
impl Flowable for InlineBackgroundFlowable {
|
|
17668
|
+
fn is_collapsible_inline_space(&self) -> bool {
|
|
17669
|
+
self.child.is_collapsible_inline_space()
|
|
17670
|
+
}
|
|
17671
|
+
|
|
17619
17672
|
fn fragment_block_end_inline_leading(&self, avail_width: Pt) -> Option<Pt> {
|
|
17620
17673
|
self.child.fragment_block_end_inline_leading(avail_width)
|
|
17621
17674
|
}
|
|
@@ -17813,9 +17866,18 @@ impl InlineBlockLayoutFlowable {
|
|
|
17813
17866
|
mut line_height: Pt,
|
|
17814
17867
|
max_width: &mut Pt,
|
|
17815
17868
|
total_height: &mut Pt| {
|
|
17869
|
+
while line_items
|
|
17870
|
+
.last()
|
|
17871
|
+
.is_some_and(|item| self.children[item.idx].0.is_collapsible_inline_space())
|
|
17872
|
+
{
|
|
17873
|
+
line_items.pop();
|
|
17874
|
+
}
|
|
17816
17875
|
if line_items.is_empty() {
|
|
17817
17876
|
return;
|
|
17818
17877
|
}
|
|
17878
|
+
if let Some(last) = line_items.last() {
|
|
17879
|
+
line_width = last.x_off + last.size.width;
|
|
17880
|
+
}
|
|
17819
17881
|
let fill_count = line_items
|
|
17820
17882
|
.iter()
|
|
17821
17883
|
.filter(|item| self.children[item.idx].0.expands_inline_fill())
|
|
@@ -18012,6 +18074,15 @@ impl InlineBlockLayoutFlowable {
|
|
|
18012
18074
|
};
|
|
18013
18075
|
|
|
18014
18076
|
for (idx, (child, valign)) in self.children.iter().enumerate() {
|
|
18077
|
+
let collapsible_space = child.is_collapsible_inline_space();
|
|
18078
|
+
if collapsible_space
|
|
18079
|
+
&& line_items
|
|
18080
|
+
.iter()
|
|
18081
|
+
.rfind(|item| item.size.width > Pt::ZERO)
|
|
18082
|
+
.is_none_or(|item| self.children[item.idx].0.is_collapsible_inline_space())
|
|
18083
|
+
{
|
|
18084
|
+
continue;
|
|
18085
|
+
}
|
|
18015
18086
|
if let Some(break_height) = child.forced_line_break_height() {
|
|
18016
18087
|
if line_items.is_empty() {
|
|
18017
18088
|
let mut empty_height = forced.max(break_height);
|
|
@@ -18076,7 +18147,11 @@ impl InlineBlockLayoutFlowable {
|
|
|
18076
18147
|
} else {
|
|
18077
18148
|
raw_line_width + self.gap + text_boundary_spacing + raw_width
|
|
18078
18149
|
};
|
|
18079
|
-
if !self.no_wrap
|
|
18150
|
+
if !self.no_wrap
|
|
18151
|
+
&& !collapsible_space
|
|
18152
|
+
&& raw_next_width > avail_width
|
|
18153
|
+
&& !line_items.is_empty()
|
|
18154
|
+
{
|
|
18080
18155
|
flush_line(
|
|
18081
18156
|
&mut lines,
|
|
18082
18157
|
&mut line_items,
|