~/talk

SVG in Custom PDF Templates

Talkat Clojure/conj 2017 · 2017-10-12..10-14· [web-platform, frontend-architecture]
links:none on file
slides:none on file

Exports SVG from the browser, posts it as multipart to a Clojure backend built with reagent/re-frame, converts SVG to PNG with a Batik wrapper inside pdfboxing + Batik render (had to scale up images to avoid fuzziness), injects PNGs and field values into a PDF template, flattens the form, stores the PDF on S3 and returns a pre-signed S3 URL for display in an iframe. End-to-end takes about 6 seconds.

AI-written summary · about

  1. 0:00Project introduction
  2. 1:32Generating chart images
  3. 2:57Populating and flattening PDF
  4. 3:52Rendering report in browser
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.