[Fontconfig] Understanding <default> alias

Petr Gajdos pgajdos at suse.cz
Fri Feb 24 02:42:19 PST 2012


Hi,

On Thu, Feb 23, 2012 at 11:15:01AM +0100, Petr Gajdos wrote:
> have no idea why it matters, I don't know internals of fontconfig).
I have it now ;-).

> Note that, for <default> alias, it make sense to have more 
> <family> tags in.

ok, I have read bug 44826 and 33644; result of

---------------8<------------------
<alias binding="same">
        <family>Droid Sans</family>
        <family>DejaVu Sans</family>
        <family>Liberation Sans</family>
        <default><family>mysans</family></default>
</alias>
--------------->8------------------

is (FC_DEBUG=4)

---------------8<------------------
Add Subst match
        pattern any family Equal "Droid Sans" Comma "DejaVu Sans" Comma "Liberation Sans"
edit
        Edit family AppendLast "mysans";
--------------->8------------------

How can I achieve it by <match><test><edit> (Comma operator)?

Thanks for your help,
Petr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20120224/1d2c26b0/attachment.pgp>


More information about the Fontconfig mailing list