RSS/Atom feed Twitter
Site is read-only, email is disabled

Unused fonts

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

10 of 10 messages available
Toggle history

Please log in to manage your subscriptions.

Unused fonts TimH 23 Nov 20:11
  Unused fonts Rick Strong 23 Nov 20:35
   Unused fonts TimH 23 Nov 22:20
  Unused fonts Ofnuts 23 Nov 20:36
   Unused fonts TimH 23 Nov 22:15
  Unused fonts Michael Schumacher 23 Nov 20:52
   Unused fonts TimH 23 Nov 22:12
    Unused fonts Michael Schumacher 23 Nov 22:57
    Unused fonts Mark Morin 24 Nov 00:28
  Unused fonts TimH 24 Nov 12:29
2016-11-23 20:11:24 UTC (over 8 years ago)
postings
5

Unused fonts

I went through and cleaned a whole load of fonts out of my Windows 8 system - including a lot of system fonts. That change is not reflected in GIMP, which persists in showing me the old system fonts including the non-western languages, which, being a Westerner, I do not use. I can confirm that they are not in my windows system fonts directory. I can also confirm that there are no folders listed under Edit - Preferences - Folders - Fonts.

So where are these font references stored. I'm talking about fonts like Batang - which, when I select it, does not display Batang font, just Western. Are they hard coded in GIMP somewhere? Does GIMP pick up what's installed when it itself is installed, and then never forget them?

Rick Strong
2016-11-23 20:35:04 UTC (over 8 years ago)

Unused fonts

Somebody had the same problem not too long ago. If there is a GIMP list archive, check there.

Rick S.

-----Original Message----- From: TimH
Sent: Wednesday, November 23, 2016 3:11 PM To: gimp-user-list@gnome.org
Cc: notifications@gimpusers.com
Subject: [Gimp-user] Unused fonts

I went through and cleaned a whole load of fonts out of my Windows 8 system -
including a lot of system fonts. That change is not reflected in GIMP, which persists in showing me the old system fonts including the non-western languages,
which, being a Westerner, I do not use. I can confirm that they are not in my
windows system fonts directory. I can also confirm that there are no folders listed under Edit - Preferences - Folders - Fonts.

So where are these font references stored. I'm talking about fonts like Batang -
which, when I select it, does not display Batang font, just Western. Are they
hard coded in GIMP somewhere? Does GIMP pick up what's installed when it itself
is installed, and then never forget them?

TimH (via www.gimpusers.com/forums)
Ofnuts
2016-11-23 20:36:15 UTC (over 8 years ago)

Unused fonts

On 23/11/16 21:11, TimH wrote:

I went through and cleaned a whole load of fonts out of my Windows 8 system - including a lot of system fonts. That change is not reflected in GIMP, which persists in showing me the old system fonts including the non-western languages, which, being a Westerner, I do not use. I can confirm that they are not in my windows system fonts directory. I can also confirm that there are no folders listed under Edit - Preferences - Folders - Fonts.

So where are these font references stored. I'm talking about fonts like Batang - which, when I select it, does not display Batang font, just Western. Are they hard coded in GIMP somewhere? Does GIMP pick up what's installed when it itself is installed, and then never forget them?

Hazy memory (I have not used Windows recently) but look for a "fontcache" directory somewhere in your "Application Data" directory tree. Then remove it. Next Gimp startup will take a while rebuilding it, looking at the existing system fonts.

Michael Schumacher
2016-11-23 20:52:51 UTC (over 8 years ago)

Unused fonts

On 11/23/2016 09:11 PM, TimH wrote:

I went through and cleaned a whole load of fonts out of my Windows 8 system - including a lot of system fonts. That change is not reflected in GIMP, which persists in showing me the old system fonts including the non-western languages, which, being a Westerner, I do not use.

It is pretty likely Windows doesn't delete fonts, but marks them as hidden. This may not be reflected in the list of fonts available to GIMP, if fontconfig - the library used to list and categorize fonts - either does not support this yet, or is not configured to do so.

We got a similar bug report about fonts not being used due to language settings:

https://bugzilla.gnome.org/show_bug.cgi?id=641808

What we need is for someone using the affected platform (or caring very much about it) to figure out how fontconfig can be made to honor these settings and/or the font state (i.e. them being hidden or not, respectively).

This could be a configuration setting, or may require a code change in this library. Blacklisting arbitrary fonts based on some of their feature is possible, so this might be a matter of finding something these fonts have in common that is also recognized and understood by fontconfig.

Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
2016-11-23 22:12:27 UTC (over 8 years ago)
postings
5

Unused fonts

Thank you for your suggestions. I actually used a script to actually delete the font files, so I think they genuinely are moved at an OS level.

It is pretty likely Windows doesn't delete fonts, but marks them as hidden. This may not be reflected in the list of fonts available to GIMP, if fontconfig - the library used to list and categorize fonts - either does not support this yet, or is not configured to do so.

We got a similar bug report about fonts not being used due to language settings:

https://bugzilla.gnome.org/show_bug.cgi?id=641808

What we need is for someone using the affected platform (or caring very
much about it) to figure out how fontconfig can be made to honor these settings and/or the font state (i.e. them being hidden or not, respectively).

This could be a configuration setting, or may require a code change in this library. Blacklisting arbitrary fonts based on some of their feature is possible, so this might be a matter of finding something these fonts have in common that is also recognized and understood by fontconfig.

2016-11-23 22:15:22 UTC (over 8 years ago)
postings
5

Unused fonts

Thank you for your suggestion. Good memory though!

Tried this, but no effect, sadly.

Hazy memory (I have not used Windows recently) but look for a "fontcache" directory somewhere in your "Application Data" directory tree. Then remove it. Next Gimp startup will take a while rebuilding it,
looking at the existing system fonts.

2016-11-23 22:20:58 UTC (over 8 years ago)
postings
5

Unused fonts

Thanks - the issue I could find in this forum was around OS X and indicating the issue wasn't so much with GIMP as with OS X core services.

Somebody had the same problem not too long ago. If there is a GIMP list
archive, check there.

Rick S.

-----Original Message----- From: TimH
Sent: Wednesday, November 23, 2016 3:11 PM To: gimp-user-list@gnome.org
Cc: notifications@gimpusers.com
Subject: [Gimp-user] Unused fonts

I went through and cleaned a whole load of fonts out of my Windows 8 system -
including a lot of system fonts. That change is not reflected in GIMP, which
persists in showing me the old system fonts including the non-western languages,
which, being a Westerner, I do not use. I can confirm that they are not in
my
windows system fonts directory. I can also confirm that there are no folders
listed under Edit - Preferences - Folders - Fonts.

So where are these font references stored. I'm talking about fonts like
Batang -
which, when I select it, does not display Batang font, just Western. Are
they
hard coded in GIMP somewhere? Does GIMP pick up what's installed when it
itself
is installed, and then never forget them?

Michael Schumacher
2016-11-23 22:57:09 UTC (over 8 years ago)

Unused fonts

On 11/23/2016 11:12 PM, TimH wrote:

Thank you for your suggestions. I actually used a script to actually delete the font files, so I think they genuinely are moved at an OS level.

I'd like to point out two recent mails from this list:

https://mail.gnome.org/archives/gimp-user-list/2016-November/msg00007.html

https://mail.gnome.org/archives/gimp-user-list/2016-November/msg00011.html

The user there was pretty sure to have deleted fonts for good - turned out they still were not gone yet.

Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
Mark Morin
2016-11-24 00:28:00 UTC (over 8 years ago)

Unused fonts

On 11/23/2016 5:12 PM, TimH wrote:

Thank you for your suggestions. I actually used a script to actually delete the font files, so I think they genuinely are moved at an OS level.

The OS doesn't delete fonts, it uninstalls them. There's a difference. If you go to you fonts folder in c:\windows\fonts you will see a listing (or graphical icon). Select a font and you will see the option to delete it. The font gets uninstalled (registry reference is deleted too). If you write a script to delete a font, you are using the OS's delete command which doesn't unregister the font.

It is pretty likely Windows doesn't delete fonts, but marks them as hidden. This may not be reflected in the list of fonts available to GIMP, if fontconfig - the library used to list and categorize fonts - either does not support this yet, or is not configured to do so.

We got a similar bug report about fonts not being used due to language settings:

https://bugzilla.gnome.org/show_bug.cgi?id=641808

What we need is for someone using the affected platform (or caring very
much about it) to figure out how fontconfig can be made to honor these settings and/or the font state (i.e. them being hidden or not, respectively).

This could be a configuration setting, or may require a code change in this library. Blacklisting arbitrary fonts based on some of their feature is possible, so this might be a matter of finding something these fonts have in common that is also recognized and understood by fontconfig.

2016-11-24 12:29:55 UTC (over 8 years ago)
postings
5

Unused fonts

SOLVED:

My thanks to all who helped out

It seems two things are needed. There's a script file called 2manyfonts which does actually unregister and remove the files - or at least, that's what it's doing here:

takeown /f %windrive%:\Windows\Fonts\ACaslonPro-Bold.otf icacls %windrive%:\Windows\Fonts\ACaslonPro-Bold.otf /grant administrators:F /t move %windrive%:\Windows\Fonts\ACaslonPro-Bold.otf %windrive%:\LANGUAGE_CLEAN\2manyfonts\ACaslonPro-Bold.otf

which does indeed allow me to move the font files and unregister them.

However, the discussion allowed me to put the other piece of the puzzle together which was to clear the fontcache again after doing this by deleting that file.. which then removed them from Gimp

(Running SFC will put these back again - just so others know!)