I made a SVG shape in Vectr for a typographic logo I was creating (not a designer). The SVG included some text, for which I used one of the Google fonts included in Vectr. When I exported it, the graphic was 400KB or something ridiculous.
I put it into SVGOMg, and it quickly identified the font as the culprit. I removed the font and the file size went to 0.6KB.
Does Illustrator include the file size of the font when it exports to SVG?
In Inkscape there is an option to convert text to paths. This would make the text shapes and then it won't export the font. This is what you want for anything that has fixed text.
I put it into SVGOMg, and it quickly identified the font as the culprit. I removed the font and the file size went to 0.6KB.
Does Illustrator include the file size of the font when it exports to SVG?