[Fontconfig] Next steps for a reproducible Fontconfig?

Alexander Larsson alexander.larsson at gmail.com
Thu Jan 24 11:02:27 UTC 2019


On Thu, Jan 24, 2019 at 11:59 AM Alexander Larsson
<alexander.larsson at gmail.com> wrote:
>
> On Thu, Jan 24, 2019 at 11:54 AM Keith Packard <keithp at keithp.com> wrote:
> >
> > Alexander Larsson <alexander.larsson at gmail.com> writes:
> >
> > $ 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.
> >
> > Format looks OK.
> >
> > I think we might bike-shed on the names here a bit -- 'real-path' is
> > pretty ambiguous as both paths are 'real', one is just the file system
> > path and the other is the cache path. I like using the file system path
> > as the contents of the element and the cache path as the property, but
> > perhaps the property name could be 'cache-path' instead?
>
> Or maybe 'cache-as' ?

Actually, i think cache-path fits better with the "remap-dir" node
name. I'll change the PR.


More information about the Fontconfig mailing list