Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Font not found
#1
Hello everybody,
i have an old .xcf file with some text using a font which is not currently installed on my OS, so as soon as i try to correct the text, the font changes and i can't go back to the old font in any way. Fact is that the old one is correctly shown in the file as i open it, but i can't remember or find in any way its name. Is there any way to recover it in the file informations or anywhere else?
Reply
#2
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.

   
Reply
#3
(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.
Thank you very much for your help.
Unluckily it only shows the font is named SANS which is not helpful in any way... i guess it's lost forever.
Reply
#4
I don't know what that font would be, but it seems to me to be from the Broadway font family.
Reply
#5
Quote: ...Unluckily it only shows the font is named SANS which is not helpful in any way... i guess it's lost forever..

Export as a png or jpeg. Cut out some representitive characters, clean up if possible and try one of the font identification sites.

this one for example: https://www.whatfontis.com/
Reply
#6
Try to open the .xcf file with an editor that can handle binaries like Notepad++(runs via wine here) or some hex editor and search for "font"
you might find something like this:

(font "Arial")
(font-size 15.000000)
(font-size-unit pixels)
(antialias yes)
(language "de-de")
(base-direction ltr)
(color (color-rgb 0.000000 0.000000 0.000000))
(justify center)
(box-mode dynamic)
(box-width 344.000000)
(box-height 24.000000)
(box-unit pixels)
(hinting yes)
Reply
#7
(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.
Reply
#8
Ofnuts should really answer this one, but for the record.

Still working with kubuntu 20.04 and Gimp 2.10 28 (PPA version with python2 added) I get the message box. Starting Gimp from console, still get message box, nothing in the console.

Which linux and Gimp are you now using ?
Reply
#9
(09-23-2021, 03:37 PM)rich2005 Wrote: Ofnuts should really answer this one, but for the record.

Still working with kubuntu 20.04 and Gimp 2.10 28 (PPA version with python2 added)  I get the message box. Starting Gimp from console, still get message box, nothing in the console.

Which linux and Gimp are you now using ?

5.14.3-arch1-1

extra/gimp 2.10.28-1 (20.0 MiB 111.9 MiB) (Installed)
Reply
#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


Forum Jump: