Re: Next steps for a reproducible Fontconfig?

"Keith Packard" <[email protected]> Thu, 24 Jan 2019 02:54:16 -0800
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
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?

-- 
-keith

_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAlxJmVgACgkQ2yIaaQAA
ABG5jw/9GLutZmbZ7H5rcwnRnhrYbYD30yBZRzFf3OVWJIdTYB8YnWfYs0EFrSE1
1xYHIQiBiWN1ED5ryaS4OdH9ywnP4s6DzU3c9iTw9FTwq0Vde5E5m4ZVeacHSPnU
Q70axBYPfWt4VU5JWhY52WbSFI2QXVPj+yJmWl+X3MAvVs0sP4ewb265+LuCT1Ak
stoVv2RanrvIj2yvgOVZENImVQzfuJhFUDPHO4Df/grJnWaFqkq0qdG7UieNez99
zG7Ozo9kYtRZstSWlEvWKkBRTquLksLq+I0+oZzwhIzN8zb4K/6cCgCe38cSNKa9
oVqEibB+H/KfSh440Iz6f20T6X3+cOJjg2lC6ed9hQsIfbvOXwvkYAluqAj430gY
gPMfOE/2N2dxOYy5/3wrNga0ZmDnCBcA7Ff2z0QXXextrEPPTnAzlza7mXcG9zCz
+dNr/ze92Ltof8VMOYujTfHfaQ3u391xRwjCwGSlps0TU1taHCAbc2UEdESDTXKz
OaVDglCyZG/HNifOoMMfwiedO76j5WVUNhZ+ztQHZGYOKfBo9RblbXGanmCjX8fS
Jb54APdLEA0GR59y2ewcdzAFXTMFUae2paElG7xinmO4tsHJKT7AzkHzXCvy6FGO
JnYeEpzZSB0pYH0md+zijkikwtn0XXMaVX8bacomd5IRdpjjNqY=
=ds1A
-----END PGP SIGNATURE-----