caterium-app/public/core
pavlov346346-source c0bb18d5f7 fix: polish the 2 kept offer templates — alignment, fonts, gallery
- Fix a systemic centering bug: several canvas text() calls used
  align:'center' but passed the box's left edge as x instead of its
  midpoint, so headings, badge numbers, checkmarks and chip labels
  rendered pinned to the left instead of centered (most visible on
  cream-elegance's "МЕНЮ" heading and neon-menu's guest badge).
- Fix cream-elegance's category icons: the emoji glyph was never
  actually passed into iconCircle, so the icon circles rendered empty.
- Even out cream-elegance's bottom row (stat cards vs price band had
  mismatched heights).
- Load distinctive Cyrillic-friendly type pairs instead of default
  Arial/Georgia: Playfair Display + Montserrat for cream-elegance,
  Unbounded + Manrope for neon-menu, awaited via the Font Loading API
  before each render so text never draws in the fallback face.
- Narrow the Settings gallery to just these two templates per request
  ("остановимся на 2х пдф пока"); the other 4 signature designs and
  the original 13 classic templates stay intact and renderable for any
  order that already used one, just not offered for new ones.

Verified via a local static server (public/, http-server) with a real
uploaded box photo run through window.SunSignatureOfferPDFV18 and the
production sunClientOfferDebugPdfPages pipeline directly — 3 pages,
no duplicate cover, both fonts confirmed loaded via document.fonts.check.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 08:49:39 +03:00
..
account-center-v1780.js fix: expose manager account and password controls 2026-09-12 10:10:25 +03:00
auth-security-v1774.js fix: fall back to direct Supabase auth on proxy 500 2026-09-14 17:26:32 +03:00
classic-offer-pdf-v1767.js Caterium v17.6.7 — restore classic client proposal PDFs 2026-09-08 07:29:40 +03:00
data-layer-v1773.js perf: stop recomputing the full client list per client on bulk push 2026-09-12 14:08:57 +03:00
developer-console-v1768.js Caterium v17.6.8 — Developer Console UX and error fixes 2026-09-08 07:58:54 +03:00
hotfix-v1763.js Caterium v17.6.5 stability hardening 2026-09-08 05:55:48 +03:00
login-signature-v1776.js fix: use approved Caterium logo on cream login 2026-09-12 05:57:35 +03:00
offer-workspace-v1769.js Caterium v17.6.9 — offer PDF workspace and gallery uploads 2026-09-08 08:21:11 +03:00
ops-ux-v1762.js fix: stop the menu-editor button-patch interval once it succeeds 2026-09-12 14:09:06 +03:00
order-enhancements-v1775.js feat: load Caterium Signature login screen 2026-09-11 19:19:12 +03:00
pdf-engine.js Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
performance.js fix: match the early login boot placeholder to the cream login redesign 2026-09-12 14:40:33 +03:00
server-automation-v1770.js Caterium v17.7.0 — architecture foundation 2026-09-08 13:24:34 +03:00
signature-offer-pdf-v18.js fix: polish the 2 kept offer templates — alignment, fonts, gallery 2026-09-16 08:49:39 +03:00
stability-v1760.css Caterium v17.6.0 - GitHub Cloudflare autodeploy 2026-09-07 15:29:20 +03:00
sun-safe.js feat: load Caterium account center 2026-09-12 08:48:57 +03:00
trial-promo-developer-v181.js feat: add trial promo management to developer console 2026-09-13 18:44:18 +03:00
ux-fixes-v1764.js feat: add 6 new client-offer PDF templates, archive the old 13 2026-09-15 18:27:23 +03:00