On Thu, Jan 24, 2019 at 11:59 AM Alexander Larsson <alexander.larsson@xxxxxxxxx> wrote: > > On Thu, Jan 24, 2019 at 11:54 AM Keith Packard <keithp@xxxxxxxxxx> wrote: > > > > Alexander Larsson <alexander.larsson@xxxxxxxxx> 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 Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig