We are making CSS/SVG buttons for Google Sign In but the SVGs are giving us trouble. This to debug what's going on and generate new ones.
Took SVG from button builder:
https://developers.google.com/identity/sign-in/web/build-button
and SVG from assets:
https://developers.google.com/identity/branding-guidelines
Reduced SVG from assets to what you see in logo-from-assets.svg
Inspected SVG in Inkscape, saw that we could reduce view box to get only icon
Updated view box to 0 0 18 18
Re-inspected in Inkscape, repositioned SVG and saved
Updated new translate
values by hand
Removed translate
calls altogether by using svgo
Saved final as logo-from-assets.corrected.svg
We also created a logo-from-builder.optimized.svg
for saved space
Original images from Google. No ownership claimed by author.