Skip to content

PoC of a convenient poster layout builder with text autofitting

License

Notifications You must be signed in to change notification settings

posterkit/posterkit-sandbox

Repository files navigation


PosterKit Sandbox

About

PosterKit has been created to support the lovely people of La Quadrature du Net and gafam.info in their endeavours. Big kudos to them for making their material available to the public domain (CC0), so we could easily build upon it.

As we want to give this back to the community, we hope it will become a valuable tool for many people from different backgrounds. Contributions are always welcome!

How to work with it

Browser display

Bundle Javascript and CSS assets using webpack:

yarn install
yarn run build

Watch files for rebundling:

yarn run watch

Open document in browser:

open ./htdocs/examples/34c3-endlich-normale-menschen/poster.html

PDF rendering

Read all about it at README-PDF.

Examples

Basic examples

These basic examples have static content, easy to follow and without further ado:

Dynamic content

The people of gafam.info already maintain the Git repository gafam-poster-translations. By building upon that, we used i18next together with `i18next-xhr-backend`_ to create a demo which uses the translated texts from the GitHub repository in real time.

Enjoy:

Licenses

Credits

This uses Fitty by Rik Schennink, a library for snugly text resizing. Kudos!


Have fun!