]> git.wh0rd.org - fontconfig.git/commit
[fcformat] Add support for builtin formats
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 11 Feb 2009 01:56:39 +0000 (20:56 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 15 Feb 2009 21:40:30 +0000 (13:40 -0800)
commitd04a750764d89a7048f49d655fb7e4aabbcd10b3
tree0647b644a9aa03c011c5237d6054ca86f360b0dd
parent85c7fb67ce9f77574f71de7d9b69867bb974cd48
[fcformat] Add support for builtin formats

The '%{=unparse}' format expands to the FcNameUnparse() result on the
pattern.  Need to add '%{=verbose}' for FcPatternPrint() output but
need to change that function to output to a string first.

Also added the '%{=fclist}' and '%{=fcmatch}' which format like the
default format of fc-list and fc-match respectively.
src/fcformat.c