[Fontconfig] Next steps for a reproducible Fontconfig?

Nicolas Mailhot nicolas.mailhot at laposte.net
Wed Jan 30 10:27:23 UTC 2019


Le 2019-01-30 11:23, Nicolas Mailhot a écrit :
> Le 2019-01-30 10:32, Akira TAGOH a écrit :
> 
> 
>> This would avoid collision between one and origins. and assuming that
>> flatpaks can load config from host too, we could have:
>> 
>> 10-salt.conf (from host):
>> <salt id="default"/>
> 
> Note that the "id" attribute has special meaning and constrains in
> xml. I'm not saying it should not be used, but it will restrict future
> evolutions more than another choice.

One of the constrains being it must be unique. So if you use id for 
salt, you effectively forbid the use of the same salt for two different 
elements.

(of course one can cheat with non-conformant xml parsers, that restricts 
interoperability though).

Regards,

-- 
Nicolas Mailhot


More information about the Fontconfig mailing list