]> git.wh0rd.org - fontconfig.git/commit
[fcformat] Add conditionals
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 10 Feb 2009 05:15:08 +0000 (00:15 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 15 Feb 2009 21:40:27 +0000 (13:40 -0800)
commit7717b25ffdd9507b0d73ef60b70b692f7286c0a2
treefd03a69fcd88754a98609659a15e7bbd78eb4fb9
parent8c31a2434d5dfa475ef710ad52c992111caac424
[fcformat] Add conditionals

The conditional '%{?elt1,elt2,!elt3{expr1}{expr2}}' will evaluate
expr1 if elt1 and elt2 exist in pattern and elt3 doesn't exist, and
expr2 otherwise.  The '{expr2}' part is optional.
src/fcformat.c