Multilingual Proclamation (25 languages, 8 scripts)
A two-page proclamation from the fictional Concord of Nations, issued in its six official languages and annexed with the same message in 25 languages across 8 writing systems. It is rendered entirely from declarative JSON.
Every script is shaped at render time: Arabic and Persian letters join into their contextual forms, Devanagari builds conjuncts, Thai stacks vowels and tones, Hebrew sets right-to-left, and Chinese/Japanese/Korean embed only the glyphs they use.
Highlights
- 8 writing systems. Latin, Cyrillic, Greek, Arabic (incl. Persian), Hebrew, Devanagari, Thai, and CJK. Latin, Cyrillic and Greek use the registered Noto Serif family; Arabic, Hebrew, Devanagari, Thai, and CJK are zero-config — no font registration, they render automatically.
- Multi-script seal. A single SVG seal carries four scripts on two concentric
textPathrings (Arabic + Latin outer, Greek + Devanagari inner) around a CJK character. - A ceremonial page 1. A centred emblem and title over an svg ornamental rule, the preamble justified, and the two signatures either side of the seal.
- The scripts on page 2. The six official renderings as cards and the 25 renderings of Annex A as a mosaic of tiles, each phrase set large in its own script; both are tables with
borderSpacing, so the tiles in a row stay level. The Thai phrase carries zero-width spaces between its words, since Thai writes none. - Five barcode symbologies. The same reference encoded as Code 128, PDF417, Data Matrix, Aztec, and QR.
- Icon font. FontAwesome glyphs used inline in section headers.
- Watermarks + disclosure. A page frame drawn as a page-sized svg watermark (
scope: "page"), a single faintDocPayloadwatermark centred on each page, and an explicit fictional-document notice.
Features used: PDF/A-2b conformance, watermarks, columns, tables, lists, rules, SVG, barcodes (aztec, code128, datamatrix, pdf417, qrcode), headers and footers, Arabic, Chinese, Cyrillic, Devanagari, Greek, Hebrew, Japanese kana, Korean, Thai text
- Output
- Template
- Data
How it's built
The seal: one script per ring
The seal is a 150 × 150 svg drawn at 112 pt: three circles, a diamond path and four textPath rings (SVG). Each ring follows a half circle. The upper arcs run over the top and the lower arcs under the centre, both from left to right, so the text of all four reads upright. Each ring carries one script and has a style of its own; the character in the middle is a plain text.
{ "svg": { "viewBox": [150, 150], "width": 112, "height": 112, "children": [
{ "circle": { "cx": 75, "cy": 75, "r": 72, "style": "sealOuter" } },
{ "textPath": { "d": "M 11 75 A 64 64 0 0 1 139 75", "text": "ختم التصديق الرسمي", "textAnchor": "middle", "startOffset": "50%", "style": "sealAr" } },
{ "textPath": { "d": "M 11 75 A 64 64 0 0 0 139 75", "text": "CONCORD OF NATIONS · SECRETARIAT", "textAnchor": "middle", "startOffset": "50%", "style": "sealLatin" } },
{ "textPath": { "d": "M 29 75 A 46 46 0 0 1 121 75", "text": "ΕΠΙΚΥΡΩΣΗ", "textAnchor": "middle", "startOffset": "50%", "style": "sealGreek" } },
{ "textPath": { "d": "M 29 75 A 46 46 0 0 0 121 75", "text": "प्रमाणित अभिलेख", "textAnchor": "middle", "startOffset": "50%", "style": "sealDeva" } },
{ "text": { "x": 61, "y": 68, "width": 28, "text": "認", "style": "sealCJK" } }
] } }
sealGreek names "fontFamily": "Serif", the family document.fonts declares. sealAr, sealDeva and sealCJK name no family, and each script is set in a face that covers it.
Tiles that stay level
Both grids on page 2 are tables with "borderCollapse": "separate" and a borderSpacing, 6 for the official cards and 4 for the mosaic (Tables). Each cell's style draws the tile: fill, border, borderRadius, padding and centred text. A cell holds the phrase, a [br], and the language's own name in a [span, tileLang]. The tile styles differ by script only in size and family: tileLatin names Serif at 10.5, tileAr and tileCJK set 12.5 and name none. The last row of the mosaic:
{ "table": { "style": "mosaic", "widths": [1, 1, 1, 1, 1], "rows": [[
{ "td": "शान्ति र मर्यादा[br][span, tileLang]नेपाली[/span]", "style": "tileDeva" },
{ "td": "สันติภาพและศักดิ์ศรี[br][span, tileLang]ไทย[/span]", "style": "tileThai" },
{ "td": "和平与尊严[br][span, tileLang]中文[/span]", "style": "tileCJK" },
{ "td": "平和と尊厳[br][span, tileLang]日本語[/span]", "style": "tileCJK" },
{ "td": "평화와 존엄[br][span, tileLang]한국어[/span]", "style": "tileCJK" }
]] } }
The Thai cell carries a zero-width space (U+200B) between its words, the break opportunities Thai does not write.
Barcodes and the page frame
The five codes are barcode shapes in one 512 × 84 svg, each with its spec.type and spec.code, and their names are text shapes under them (Barcodes). The page frame is a watermark whose content is a 612 × 792 svg of two rects and four diamond paths at the corners, with "scope": "page" (Watermarks).