Skip to content

ELK output formats: PS/EPS/EMF via vectory - #55

Merged
ronaldtse merged 1 commit into
mainfrom
feat/output-formats
Oct 7, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
feat/output-formats

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Closes #53 (the vectory half).

Formatter::Elk now accepts svg (default), ps, eps, emf. Conversion runs through vectory's pure-Ruby pipelines (postsvg for PS/EPS, emfsvg for EMF) — verified against marker/polyline-bearing ELK output. vectory is a soft dependency with install guidance on LoadError.

Remaining from #53: direct PDF via pdfrb's Canvas needs a font-resource design (text emission requires embedded fonts) — deliberately not rushed; the issue stays the tracking point for it.

715 examples, 0 failures.

Formatter::Elk accepts svg (default), ps, eps and emf. The SVG is
laid out in-process as before; vector conversion runs through
vectory's pure-Ruby postsvg/emfsvg pipelines, so `lutaml generate
--layout elk` now covers Office (EMF) and print (PS/EPS) targets
with no external tools. vectory is a soft dependency like elkrb:
without it, PS/EPS/EMF requests raise with installation guidance.
@ronaldtse
ronaldtse merged commit c7f24f5 into main Oct 7, 2026
14 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.

PDF/EMF/PS output via pdfrb + vectory (no external tools)

1 participant