UPG100 packet, 12 Prayer Points: the page's smallest size tier is a little tighter so the new wording fits one sheet

At the floor tier the gap between points is 3px (was 5px) and the point text 18px (was 18.5px). All 11
languages fit one sheet; several now take a larger tier. The packet-strings pin is renewed for the new wording.
This commit is contained in:
Doxa Maps 2026-10-03 10:44:36 +00:00
parent 62fad6ed5a
commit 926815240d
2 changed files with 2 additions and 2 deletions

View file

@ -1397,7 +1397,7 @@ export function createPacketRenderer({ strings, lang = 'en', fontData = null, de
// its own width, with per-script advances measured on this page in the packet's fonts and rounded UP; a
// tier is taken only when the estimate fits with PT_SAFE to spare. check:packet-render measures the real
// page in all 11 locales behind it (pointsOver).
const PT_MIN = { head: 22, sub: 19, text: 18.5, refs: 16, gap: 5, passage: 16, th: 19, thb: 20, scr: 18 };
const PT_MIN = { head: 22, sub: 19, text: 18, refs: 16, gap: 3, passage: 16, th: 19, thb: 20, scr: 18 };
const PT_MAX = { head: 25, sub: 21, text: 22.5, refs: 18.5, gap: 18, passage: 20, th: 21, thb: 22, scr: 19 };
const PT_TOP = 82, PT_TIERS = 10, PT_SAFE = 0.97;
const PT_BODY_H = H - (M + PT_TOP) - 80; // the .points-body box: 1719px

View file

@ -12,4 +12,4 @@ export const POSTER_RENDER_GLOBAL_SHA384 = 'sha384-/xk50RJ2wbLLxTmMS6dXqDb6fmWRi
// The sha384 of library/scripts/posters/packet-strings.json, served at <assets>/lib/packet-strings.json. The
// packet, list and card text in every language, fetched at print time (packet/packetStrings.js) and used only
// when it matches; otherwise the print falls back to the bundled English block.
export const PACKET_STRINGS_SHA384 = 'sha384-7GKxNngOgE7w3XjqqPsOOFeVtDthItm+Z/lbgcm9rVrUo9afVPaTGp/7wpOrbEj2'
export const PACKET_STRINGS_SHA384 = 'sha384-YAzPNeMU+DF26OIEJrzo+Rr5f3lvoCjhae292a4tvGQZo5fggUQroiBVJCgBDtTF'