TryGhost
OSS
Ghost
Overview
Sign in / Sign up
Open main menu
Ghost
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
29169
80675f53 Fixed missing spaces in copied profile image in ActivityPub fixes https://github.com/TryGhost/ActivityPub/issues/1312 The "Share your profile" card is copied as an image by rendering a hidden clone of the card through html2canvas, which draws each word onto a canvas with fillText. The clone forced `font-family: system-ui`, and Firefox on macOS resolves that generic alias to a different (wider/heavier) face in canvas than it does in DOM layout. Each word was therefore drawn wider than the slot measured for it and bled into the following inter-word gap, so the copied image read as e.g. "Availableon Ghost,Flipboard" while the preview looked fine. Chrome and Safari resolve the alias consistently, which is why only Firefox was affected. Using concrete family names instead of the `system-ui` alias makes DOM layout and canvas text resolve the same font in every browser, keeping the spaces in the copied image.
by Sag
S
Previous page
Previous
Next
Next page