]> git.wh0rd.org Git - fontconfig.git/commit
[fcformat] Support 'default value' for simple tags
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 12 Feb 2009 04:55:11 +0000 (23:55 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 15 Feb 2009 21:40:30 +0000 (13:40 -0800)
commit0673ef3881d24820e627b9a8cd3a4b3e3889c545
treeb0a8980c2c63abcbca3562ea10ade0946581074f
parent9c83a8376f7db19421fb42d311fba81b398c67b0
[fcformat] Support 'default value' for simple tags

The format '%{family:-XXX} prints XٓٓٓٓXX if the element family is not defined.
Also works for things like '%{family[1]:-XXX}'.
src/fcformat.c