Re: Next steps for a reproducible Fontconfig?
Alexander Larsson <[email protected]> Thu, 24 Jan 2019 12:02:27 +0100
| Newsgroups | gmane.comp.fonts.fontconfig |
|---|---|
| Message-ID | <CAHr-Lrbet5ikfBQNQOLPdZmcuAwCBjpacAoq-trZyRmbBk+4AQ@mail.gmail.com> |
On Thu, Jan 24, 2019 at 11:59 AM Alexander Larsson <[email protected]> wrote: > > On Thu, Jan 24, 2019 at 11:54 AM Keith Packard <[email protected]> wrote: > > > > Alexander Larsson <[email protected]> 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. _______________________________________________ Fontconfig mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/fontconfig