Adobe Acrobat optimizer has an Audit Space Usage function that displays the percentage of the file size of each type of component, e.g. images, fonts, etc. See this page for an example.
Is there an open-source tool that does the same thing?
I found a program that does this. It is pdfsizeopt.py from this location. I used the command
and got an output like this: