Re: Two questions for too many fonts and Fontypython

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Forgot to say, if you're using Debian or Fedora a recent version (0.7) is in their repositories.

Also, the old version used Python so the portions that dealt with generating configuration files may be more useful to you.
They'll need updating of course, but you can find those on the releases page on GitHub,  0.5.7 was the latest as far as that goes.

Sorry for the noise. HTH

On Sep 10, 2017 8:37 PM, "Jerry Casiano" <jerrycasiano@xxxxxxxxx> wrote:
You can always have a look at

There are a few command line switches you can use to disable/enable/install fonts, but it's not really intended to be a CLI tool.

It does allow you to do exactly what you've asked for. You can enable/disable font families by clicking a checkbox. Or you can create collections so that you can enable/disable groups of fonts all at once. It also allows you to specify different directories to use and enable/disable those with a switch. You can install fonts just by dropping them on the font list.

In any case, it's far from done and it may not be exactly what you're after anyway but you can always use it just to see how it generates Fontconfig configuration files in order to add directories or blacklist fonts.

You'll find those in ~/.config/fontconfig/conf.d

It manages fonts stored in the default user folder, at this time ~/.local/share/fonts

On Sep 10, 2017 4:30 AM, "Donn Ingle" <donn.ingle@xxxxxxxxx> wrote:
If one uses apps like Inkscape, there are font-choosers (I guess that's my name for them) - dialogues that let you choose a font - which are very cluttered by dozens of fonts that have nothing to do with one's task at hand.

For example, in Inkscape on my current machine, I see:
  Tlwg Mono
And it goes on and on .. (Libre Office shows all the same fonts.)

As a designer, I'd like to have a filtered view of those fonts. At least! Some way to hide all the system-installed stuff.

I presume fontconfig is being used under the hood and that all the many packages in a modern distro are bringing various fonts along as they require. This is fine: each app gets what it needs to work.

Hello list,
The problem is when a human wants to select certain fonts they are overwhelmed by this noise.

For my sins I wrote and (glacially) maintain Fonty Python which is based on the idea of sets of fonts on-demand. It let's users group fonts (from paths on their drive) into named sets which are then installed or removed on-demand.

Nutshell: Fonty links or removes links to fonts paths in "~/.fonts"

This means a person can prepare a little for a job. Install the desired fonts and then start work, say in Inkscape or Blender.

The problem is that with every single font on the entire system listed in the Inkscape font-chooser, it's almost hopeless to find the few that you want to use.

I don't suppose this is a fontconfig problem, per se, but more one for the gui people in GTK-etc-land.

However: Q: Is there some mechanism in fontconfig that could allow me (as a normal user, on the command line) to filter or suppress the population of fonts that applications are going to offer me when they run?
(I'm picturing some temporary measure that I can reverse when I'm done.)

Q2: How should I proceed with Fonty's basic mechanism? i.e. Should I continue to use "~/.fonts", or switch to "~/.local/share/fonts" or what?

Apologies if these are dumb questions, or OT, or I've asked them before. My memory is not reliable. I mean no disrespect.


(Fonty is very old now and more than a little creaky. I am working on a new release, but I am also old and creaky.)

Fontconfig mailing list

Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux