Bug#864082: [Fontconfig] Next steps for a reproducible Fontconfig?

Keith Packard keithp at keithp.com
Thu Jan 24 10:54:16 GMT 2019


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?

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20190124/7b1268f5/attachment.sig>


More information about the Pkg-freedesktop-maintainers mailing list