Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to find name of fonts used within Gimp .xcf file?

share|improve this question
Found out how... open it with something like scite or notepad++... Will answer my question in seven hours... – jaksco Jun 18 '11 at 17:26
up vote 6 down vote accepted

Apart from opening the file in a text editor, I found another way to do so from within GIMP, mentioned in a German GIMP forum.

This is a Python script that can be executed from the GIMP's built-in Python console:

for image in gimp.image_list():
  for layer in image.layers:
    except AttributeError:

It runs across all images loaded, across all layers, and dumps the data of all text layers, including font names.

share|improve this answer
I'd never used the gimp python console (or much python at all) before so I had to figure this out...I had to indent by four spaces per indentation stop or I got a syntax error. – Matthew Aug 8 '12 at 16:55
Same. I copypasta'd into text editor, removed dots (...) from each line, copypasta'd into GIMP > Filters > Python-Fu -> Console then hit enter two or three times to make it work. Success! – Joel Mellon May 8 '14 at 23:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.