Skip to content

Clean up podcast social image generation#120

Merged
mre merged 4 commits into
masterfrom
cleanup-social-script
Jul 16, 2026
Merged

Clean up podcast social image generation#120
mre merged 4 commits into
masterfrom
cleanup-social-script

Conversation

@mre

@mre mre commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

  • remove the large Rust Foundation-specific social image render path
  • make social image generation use bundled fonts consistently instead of ImageMagick font names
  • instantiate a real Inter Bold from InterVariable.woff2 for normal post captions so blog cards keep their previous bold look
  • split long podcast bylines automatically when they exceed the safe width
  • render podcast logos on transparent backgrounds before recoloring, avoiding filled logo tiles
  • regenerate all social images with the bundled-font stack
  • skip generated target directories while walking content

Notes

  • requires woff2_decompress to be available when running scripts/social.sh
  • requires fonttools to instantiate the bundled Inter Bold font for normal post captions

Validation

  • bash -n scripts/social.sh
  • ./scripts/social.sh --force
  • compared content/blog/async/social.png against upstream/master; static Inter Bold is much closer to the old render than the variable-font weight path
  • visually inspected content/podcast/s06e08-rust-foundation/social.png
  • visually inspected content/podcast/s06e06-clickhouse/social.png
  • visually inspected content/blog/async/social.png

@mre
mre merged commit 98d6550 into master Jul 16, 2026
2 of 3 checks passed
@mre
mre deleted the cleanup-social-script branch July 16, 2026 18:25
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.

1 participant