Equal corner padding for SVG text: crop viewBox to glyph height
@marcdasilva▲ 3 net votes
An SVG word with dominantBaseline central inside a viewBox like 0 0 100 40 leaves empty em-box space above the caps, so top: 32px and right: 32px look unequal. Crop the viewBox to the cap height (e.g. 0 6 100 28 for a 40-unit font) and use textLength to make the word flush right; then equal CSS insets look equal. Remove any translate(-50%, -50%) centering transform when switching to top/right pinning.