A landscape certificate

A landscape certificate whose border and seal are drawn line by line rather than placed as pictures.

An award certificate on a landscape page: an ornamental double border, a centred title, the name of the person being honoured, the wording of the award, a seal and two signature lines. Every ornament is drawn line by line rather than placed as a picture, so the file stays small and the ornament prints as cleanly as the type.

The border, its corner detail, the ribbon and the seal are built from straight segments; the rosette and the star are polygons with so many sides that they pass for curves. Every centred line is measured in the font that draws it and then moved left by half its width, which is what puts the title, the name and the wording on one axis.

What this example shows

  • A landscape page, set up as a page rather than as a rotation.
  • An ornamental border and a seal drawn line by line from end to end.
  • Centring done by measuring the text in the font that draws it.

The code, in full

The same document is written twice, once in each language. Both files are shown in full, with the code coloured on the server, and can be copied in one click.

The document itself

The same document is written in each of these languages. Open the one you want to look at.

Open the document in English Open the document in French

Read the Rust source Read the Python source

First page of A landscape certificate

What this document weighs

Before 166,624 bytes
Now 96,346 bytes
Saved 42.2 %

Not one mark on the page changed. See every document measured.

Examples near this one

A commercial invoice

A commercial invoice: letterhead, logo, a billed-lines table, totals, and a QR code that pays it by SEPA transfer.

A delivery note

The note that travels with the goods: a barcode against each article, a box the receiver ticks, and the consignment's own code.

A payslip

A payslip: eighteen contribution lines with employee and employer shares, the month against the year to date.

A boarding pass

A boarding pass carrying the IATA BCBP string a gate scanner reads.

Every example, by subject

Glossary

signature
A seal inside the document that proves two things at once: who approved it, and that not one byte has changed since. A reader shows it as a banner at the top of the page.