Commit ed9d9eb
committed
feat(examples): a five-slide carousel sized for a LinkedIn document post
Portrait 1080x1350, which is the tallest frame LinkedIn shows without cropping,
so the type can be sized for a phone rather than a desktop preview. Five slides:
the one-composition premise, what the PPTX backend actually is, the comparative
numbers, the guarantees behind them, and how to depend on it.
Figures are read at render time - the version line from the filtered
banner.properties, the comparative timings from the committed benchmark
snapshot - so the file does not need remembering on the next release.
The coordinate slide deliberately does not print the reactor version: this
renders from a -SNAPSHOT tree, and publishing that string would advertise a
coordinate that is not on Central.
Two engine details the layout needed. A section measures to its longest line,
so a stack of cards renders with ragged right edges; a zero-height spacer sets
the width floor and they line up. Leading whitespace is trimmed during inline
layout, so the code sample indents with non-breaking spaces, which occupy the
same advance in a monospaced face.
The same composition also writes a PPTX, which is what keeps slide two's claim
about identical geometry honest whenever this file changes.1 parent af6673b commit ed9d9eb
2 files changed
Lines changed: 501 additions & 0 deletions
File tree
- examples/src/main/java/com/demcha/examples
- flagships
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
225 | 226 | | |
226 | 227 | | |
227 | 228 | | |
| 229 | + | |
| 230 | + | |
228 | 231 | | |
229 | 232 | | |
230 | 233 | | |
| |||
0 commit comments