Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Font not found
#10
(09-23-2021, 03:01 PM)akovia Wrote:
(01-12-2021, 03:06 PM)rich2005 Wrote: Go here: http://sourceforge.net/projects/gimp-too...s/scripts/
Download the text-info-0.1.py plugin (dated 2014-08-26) 

In use: Open the .xcf file. Do not use the text tool. Right click on text layer, bottom of the menu click on show text information.

This is not working for me anymore in that it doesn't put the found information in a message box or the error console like it used to. Is this just me?

I can still see the information via the console though.

The code in the script freshly downloaded from SourceForge:

Code:
import re, os, sys
from gimpfu import *

def text_info(img,layer):
    parasites=None
    try:
        parasites=layer.parasite_list()
    except Exception as e:
        pass;
    if parasites and 'gimp-text-layer' in parasites:
        data=layer.parasite_find('gimp-text-layer').data
        pdb.gimp_message('Text layer "%s": %s' % (layer.name,data))
    else:
        pdb.gimp_message('No text information found for layer "%s"' % layer.name)

All the output uses Gimp communication channels... (dialog box or error console, depening on your settings). Possibly using a modified version?
Reply


Messages In This Thread
Font not found - by Balbo193 - 01-12-2021, 02:15 PM
RE: Font not found - by rich2005 - 01-12-2021, 03:06 PM
RE: Font not found - by Balbo193 - 01-12-2021, 08:51 PM
RE: Font not found - by akovia - 09-23-2021, 03:01 PM
RE: Font not found - by Ofnuts - 09-24-2021, 08:32 AM
RE: Font not found - by Krikor - 01-12-2021, 11:30 PM
RE: Font not found - by rich2005 - 01-13-2021, 08:25 AM
RE: Font not found - by nelo - 01-13-2021, 08:37 AM
RE: Font not found - by rich2005 - 09-23-2021, 03:37 PM
RE: Font not found - by akovia - 09-23-2021, 03:48 PM
RE: Font not found - by akovia - 09-24-2021, 11:16 AM
RE: Font not found - by Ofnuts - 09-24-2021, 05:15 PM
RE: Font not found - by akovia - 09-24-2021, 08:45 PM

Forum Jump: