diff --git a/library/packet/packet-render.js b/library/packet/packet-render.js index 428db099c..5515195bd 100644 --- a/library/packet/packet-render.js +++ b/library/packet/packet-render.js @@ -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 diff --git a/library/packet/poster-render.integrity.js b/library/packet/poster-render.integrity.js index 3ad2d0386..9106864cf 100644 --- a/library/packet/poster-render.integrity.js +++ b/library/packet/poster-render.integrity.js @@ -12,4 +12,4 @@ export const POSTER_RENDER_GLOBAL_SHA384 = 'sha384-/xk50RJ2wbLLxTmMS6dXqDb6fmWRi // The sha384 of library/scripts/posters/packet-strings.json, served at /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'