GIMP uses the .xcf format to store images and layers. While it also stores the
meta data of each layer and the fonts used for text layers it is not easy to get
a list of all fonts.
Under Filter > Python-Fu > Console it is possible to access a Python console