GraphCompose v2.1.0 — twinned #459
DemchaAV
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
GraphCompose v2.1.0 — twinned
v2.1.0 is live on Maven Central. The theme: one document, two outputs. The session that prints your PDF now also emits an editable PowerPoint deck — not a rendering of the PDF, and not a second layout to keep in sync. The same resolved layout graph feeds both backends, so a page and its slide agree by construction rather than by effort.
@Beta) — addgraph-compose-render-pptxand callbuildPptx(path)on the session you already have. One page becomes one identically-sized slide, and every element keeps its coordinates because layout is compiled in core before either backend runs. Text lands as real text frames, panels and vectors as native DrawingML shapes — a reviewer can click a heading and retype it.[text](url)links.Geometry identity is a design invariant, not a best effort. What a deck cannot guarantee on its own is glyphs: it names its fonts and the viewer draws them. Standard-14 names travel as their metric-compatible viewer fonts — identical widths, different letterforms — while a registered binary family is embedded and renders identically everywhere. Every substitution is announced at
WARN, once per family, naming what was asked for and what the deck will reference instead. The module page walks the three cases.Two things worth knowing before you add it: the backend is
@Beta— the API shape (PptxFixedLayoutBackend, its builder, the fragment-handler seam) may still move in a minor while feedback lands — andgraph-compose-render-pptxdepends ongraph-compose-render-pdfat compile scope, because the PDF backend supplies the shared font measurement that keeps glyph widths aligned with the layout graph. A PPTX-only consumer therefore also resolves the PDF stack.Nothing here breaks 2.0. The PPTX backend is opt-in and additive; the rest are fixes.
Add PowerPoint output:
Drop-in (PDF included):
io.github.demchaav:graph-compose:2.1.0— core + the PDF backend, unchanged from 2.0.Release notes — https://github.com/DemchaAV/GraphCompose/releases/tag/v2.1.0
Maven Central — https://central.sonatype.com/artifact/io.github.demchaav/graph-compose/2.1.0
Backend capability matrix — https://github.com/DemchaAV/GraphCompose/blob/v2.1.0/docs/architecture/backend-capability-matrix.md
PPTX module guide — https://github.com/DemchaAV/GraphCompose/blob/v2.1.0/render-pptx/README.md
Live showcase — https://demchaav.github.io/GraphCompose/
Examples gallery — https://github.com/DemchaAV/GraphCompose/blob/v2.1.0/examples/README.md
As always — author intent, not coordinates.
All reactions