[Fontconfig] Next steps for a reproducible Fontconfig?

Alexander Larsson alexander.larsson at gmail.com
Thu Jan 24 08:11:39 UTC 2019


On Wed, Jan 23, 2019 at 9:49 PM Keith Packard <keithp at keithp.com> wrote:
>
> Akira TAGOH <akira at tagoh.org> writes:
>
> > Keith,
> >
> > I'm fine with it. do you have a time to work on it? or already started working?
> > If not, please let me know.
>
> I've been at a conference all week, but hope to have time next
> week. Would be happy to see others get this started, or collaborate in
> any way. If I do get started, I'll be pushing stuff frequently and
> posting mail so I don't block others.

So, what i really want to happen immediately (ideally this week) is to
decide on a format for the directory renaming configuration, because I
want to get that into the next stable flatpak release.
To expedite this I just made up some shit and made a flatpak PR for
generating that format: https://github.com/flatpak/flatpak/pull/2635

As an example, this generates on my system:

$ ./flatpak run --command=sh org.gnome.gedit
[📦 org.gnome.gedit flatpak]$ cat /run/host/font-dirs.xml
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <remap-dir real-path="/usr/share/fonts">/run/host/fonts</remap-dir>
    <remap-dir real-path="/home/alex/.fonts">/run/host/user-fonts</remap-dir>
</fontconfig>

Is this format acceptable? Its mostly about naming the nodes and the
attributes, so its basically trivial. If you want i can rename things
or change orders, but I'd really just like an Ack on something.


More information about the Fontconfig mailing list