Skip to content

Give cover title measurement more headroom for wider system fonts - #1646

Merged
bobbyonmagic merged 1 commit into
mainfrom
fix/cover-title-width
Sep 2, 2026
Merged

Give cover title measurement more headroom for wider system fonts#1646
bobbyonmagic merged 1 commit into
mainfrom
fix/cover-title-width

Conversation

@bobbyonmagic

Copy link
Copy Markdown
Collaborator

The cover title test failed on main because the runner's Arial substitute renders about 1% wider than the estimate assumes, so the longest title spilled 7px past the title area. Raises the estimate factors (bold 1.035 to 1.06, regular 1.015 to 1.03) so wrapping stays inside the box on wider fonts. Passes locally with Liberation Sans.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 2, 2026

Copy link
Copy Markdown

Deploying devops-daily with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9b2f9a4
Status: ✅  Deploy successful!
Preview URL: https://3af39cfb.devops-daily.pages.dev
Branch Preview URL: https://fix-cover-title-width.devops-daily.pages.dev

View logs

@bobbyonmagic
bobbyonmagic merged commit a929537 into main Sep 2, 2026
3 checks passed
@bobbyonmagic
bobbyonmagic deleted the fix/cover-title-width branch September 2, 2026 20:08
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