]> git.wh0rd.org - fontconfig.git/commit
[fcformat] Implement 'delete', 'escape', and 'translate' filter functions
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 10 Feb 2009 10:57:10 +0000 (05:57 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 15 Feb 2009 21:40:29 +0000 (13:40 -0800)
commitc8f5933d13efa6705854d8f89b22d40cf720e68d
tree5604d4594f3244faafa03fe49e361e7ddbd9d796
parentb6a23028beb3b99022599344ebd8511c12dc7fd0
[fcformat] Implement 'delete', 'escape', and 'translate' filter functions

The format '%{family|delete( )}' expands to family values with space removed.
The format '%{family|translate( ,-)}' expands to family values with space
replaced by dash.  Multiple chars are supported, like tr(1).
The format '%{family|escape(\\ )}' expands to family values with space
escaped using backslash.
src/fcformat.c