So you’ve just downloaded an awesome poster from Spread Ubuntu and now you’re trying to edit the svg so you can provide a localised version or mash it up for your own needs.
But there’s a problem… svg files don’t store the fonts used so you’re stuck looking at an ugly ill-fitting set of font defaults in inkscape and the dozy submitter didn’t specify what fonts he used. Good news! there is a command that can get for you a list of fonts used in any svg file:
`perl -lne “foreach(/font-family:(.+);/){print $1}” < foss+creative-commons3.svg | sort | uniq` Using foss+creative-commons3.svg you can see an output like this:
10.15 Saturday Night BRK
Automatica BRK
Bitstream Vera Sans
DejaVu Sans
Fatboy Slim BLTC 2 BRK
impact
Loma
Ubuntu
Not all of these fonts have been used, since it’s easy to save a file in inkscape without using the Vacuum Defs process to clear away cruft. But you do get a nice list of all the fonts you should have to see the poster the way it was intended.
Thoughts?