Skip to content

Use the original vector logo (SVG) in all languages - #271

Merged
gernotstarke merged 3 commits into
mainfrom
feat/vector-logo
Nov 27, 2026
Merged

gernotstarke merged 3 commits into
mainfrom
feat/vector-logo

Conversation

@gernotstarke

@gernotstarke gernotstarke commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Fixes #236.

  • images/arc42-logo.svg: the logo from the designer's original artwork, cropped to the logo and stripped of Illustrator data (3.5 KB). Its size (192×96) and placement match the old PNG, so the title looks the same, only sharp.
  • images/arc42-logo.png: replaced by a 4× render of the SVG (768×384, 288 dpi), so it still displays at the old size. It is the fallback for DOCX and LaTeX, which cannot use SVG reliably.
  • All 15 languages and the root images/ get both files; the title line of every arc42-template.adoc now refers to arc42-logo.svg.

Needs arc42/arc42-generator#104 for the DOCX/LaTeX fallback and for the plain style to receive the SVG. The generator PR works with the old template as well, so it can be merged first.

Checked with a full local generator build (make generate validate, no warnings): HTML, Markdown and PDF use the SVG (vector logo in the PDF), DOCX and LaTeX the PNG at the previous size (DOCX: 2.67 in wide, as before). The PDF logo becomes larger (2.67 in instead of 2 in): the PDF converter reads the SVG size as points.

🤖 Generated with Claude Code

The title logo is now images/arc42-logo.svg, cropped from the designer's
original artwork. images/arc42-logo.png is a 4x (768x384, 384 dpi) render
of it, used as fallback for DOCX and LaTeX, which the generator switches to
the PNG. See #236.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gernotstarke and others added 2 commits November 27, 2026 15:26
Pandoc read the old 192x96 PNG (no resolution set) as 72 dpi, so the
logo was 2.67 in wide in DOCX. 768 px at 288 dpi keeps that width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9.1 -> 9.1.2, 9.2-DE -> 9.2.2, 8.3 -> 8.3.2, AZ 9.1.2 -> 9.1.3; date
November 2026. README: changelog entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gernotstarke

Copy link
Copy Markdown
Member Author
  • PDF and HTML now use the SVG: sharp at any zoom, in the original colours.
  • DOCX uses the new 4× PNG at the previous size (2.67 in).
  • The PDF logo is a bit larger than before (2.67 in instead of 2 in).
logo-comparison

@gernotstarke
gernotstarke merged commit 88cc1d6 into main Nov 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add/Replace images/arc42-logo.png with high quality image (vector?)

1 participant