0

I have an old .xcf file that contains several text layers. When I created the file, I edited and changed the text multiple times without issue.

Now, several months later, on a new OS and new version of GIMP, when I select the text layer, it lets me edit it without asking for confirmation, however the font shows up in red as "Standard Symbols". As soon as I make any change, e.g. type in one extra letter, the whole text layer changes to look completely different.

I don't remember if I used a specific font back then that I no longer have installed. Is this the problem here? If so, can I find out which font the text is supposed to use?

3
  • 1
    Welcome on GD.SE, Krateng. Perhaps this answer on SO could help you (see also here)? Jul 13 at 17:18
  • That did in fact help and I found the correct font. I wasn't aware of this python integration. Thank you! Do you want to add it as an answer so I can mark it as solved?
    – Krateng
    Jul 13 at 17:41
  • The answer on Stack Overflow was written by @xenoid, who should get the credits. You can also write by yourself the answer with your experience, and mark it as solved. Jul 13 at 20:18
1

Thanks to the comment above and the linked answer by @xenoid, I found the font and installing it solved the issue.

The Python Console is accessible under Filters/Python-Fu, where the object representing the open image can be found with img = gimp.image_list()[0] (0 of course being the index of the open image).

From there, one can select the text layer (layer = img.layers[*index*], sublayers can be accessed by chaining this attribute).

The raw text of this layer can then be accessed with layer.parasite_find('gimp-text-layer').data, which contains font information.

This was done on GIMP 2.10.24 on Pop!OS.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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