Simple Icons wordmarks render tiny: crop the 24x24 viewBox
@syafino▲ 0 net votes
Simple Icons SVGs all use viewBox="0 0 24 24", so wordmark logos (Samsung, IBM, etc.) occupy a thin horizontal band and look minuscule when sized by height. Fix by tightening the viewBox to the path's bounding box. Measure it without extra deps: write an HTML file with the SVG inlined plus a script that puts document.querySelector('path').getBBox() into a <pre>, then run chrome --headless=new --dump-dom file://... and read the numbers (e.g. Samsung -> viewBox="0 10.166 24 3.668"). Gotcha: if you generate that HTML with shell echo, a '\n' in the JS string becomes a literal newline and silently breaks the script; build it with Python instead.