From c0a2953beaf3bd1a1b26b2887ef9b5200d37e115 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Mon, 12 Oct 2026 15:34:54 +0200 Subject: [PATCH] website: the share card's wordmark is the brand's own, with the blue .eu The old card's lettering was plain white and in some other face. The card now takes assets/logo-wordmark.png - the same file the sidebar shows - scaled to the old lettering's ink height and alpha-composited in its place, so felhom is white, .eu is blue, and the drawn outline is there. The cloud mark beside it is still the old card's pixels, which were always right. og:image ?v=3. --- scripts/make_og_card.py | 14 +++++++++++++- website/CHANGELOG.md | 6 ++++++ website/adatkezeles.html | 2 +- website/alkalmazasok.html | 4 ++-- website/assets/og-image-en.png | Bin 286126 -> 290245 bytes website/assets/og-image.png | Bin 285922 -> 290186 bytes website/biztonsagimentes.html | 4 ++-- website/en/apps.html | 4 ++-- website/en/backups.html | 4 ++-- website/en/contact.html | 4 ++-- website/en/download.html | 4 ++-- website/en/faq.html | 4 ++-- website/en/index.html | 4 ++-- website/en/services.html | 4 ++-- website/en/technology.html | 4 ++-- website/en/testing.html | 4 ++-- website/feltetelek.html | 2 +- website/gyik.html | 4 ++-- website/index.html | 4 ++-- website/kapcsolat.html | 4 ++-- website/letoltes.html | 4 ++-- website/szolgaltatasok.html | 4 ++-- website/technologiak.html | 4 ++-- website/teszteles.html | 4 ++-- 24 files changed, 57 insertions(+), 39 deletions(-) diff --git a/scripts/make_og_card.py b/scripts/make_og_card.py index f0a6e78a..f67f4ae6 100644 --- a/scripts/make_og_card.py +++ b/scripts/make_og_card.py @@ -55,6 +55,12 @@ CARDS = { "en": ("og-image-en.png", (208, 382), (510, 572)), } LOGO_BAND = (76, 132) +# The old card's wordmark was plain white; the brand's is "felhom" white and ".eu" blue (operator, +# 2026-10-12). It is not a font we can set - it is drawn lettering with an outline - so the card +# takes assets/logo-wordmark.png, the same file the sidebar shows, instead of the old card's pixels. +MARK_X = (73, 153) # the cloud mark on the old card, which is unchanged +WORD_AT = (176, 89) # where the old card's lettering began, and where the real one goes +WORD_INK_H = 34 # its ink height there def ink_bbox(im, y0, y1, thresh=300): @@ -116,7 +122,13 @@ def build(lang, check): region = card.crop((at[0], at[1], at[0] + part.size[0], at[1] + part.size[1])) card.paste(ImageChops.lighter(region, part), at) - lay(logo, (LEFT, logo[1])) + lay((MARK_X[0], LOGO_BAND[0], MARK_X[1], LOGO_BAND[1]), (MARK_X[0], LOGO_BAND[0])) + word = Image.open(os.path.join(A, "logo-wordmark.png")).convert("RGBA") + wb = word.getbbox() # the lettering's own edges inside its canvas + word = word.crop(wb) + ws = WORD_INK_H / float(word.size[1]) + word = word.resize((int(round(word.size[0] * ws)), WORD_INK_H), Image.LANCZOS) + card.paste(word, WORD_AT, word) scale = HEAD_WIDTH / float(head[2] - head[0]) lay(head, (LEFT, HEAD_TOP), scale) lay(pill, (LEFT - 1, pill[1])) diff --git a/website/CHANGELOG.md b/website/CHANGELOG.md index 72716c7f..45498aeb 100644 --- a/website/CHANGELOG.md +++ b/website/CHANGELOG.md @@ -26,6 +26,12 @@ their metas describe documents whose own text is plural and frozen. - The English card carries the same Hungarian-language Immich screen as the Hungarian one, because it is the same recording the hero uses on both pages. Worth a retake if the English page ever gets its own. +- **The wordmark is the brand's own now** (operator, 2026-10-12: *„the .eu is not blue”*). The old + card's lettering was plain white and set in some other face; the card takes + `assets/logo-wordmark.png` — the very file the sidebar shows — scaled to the old lettering's ink + height and alpha-composited in its place, so „felhom” is white, „.eu” is blue and the outline is + the drawn one. The cloud mark beside it is still the old card's pixels, which were always right. + `?v=3` on the og:image URLs. ## 2026-10-12 (review round) — the reviewer's findings, fixed diff --git a/website/adatkezeles.html b/website/adatkezeles.html index a444321b..b5388f9c 100644 --- a/website/adatkezeles.html +++ b/website/adatkezeles.html @@ -15,7 +15,7 @@ - + diff --git a/website/alkalmazasok.html b/website/alkalmazasok.html index ca09ccd4..186879ad 100644 --- a/website/alkalmazasok.html +++ b/website/alkalmazasok.html @@ -18,14 +18,14 @@ - + - +