]> git.wh0rd.org Git - fontconfig.git/commitdiff
[fcformat] Add list of undocumented language features
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 14 Feb 2009 01:18:11 +0000 (17:18 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 16 Feb 2009 10:14:41 +0000 (02:14 -0800)
src/fcformat.c

index ee7796a65bce47fcf5911b50542939d99452d851..417aba6a0e890e90c688e0a983a07c62094c23ad 100644 (file)
 #include <stdarg.h>
 
 
+/* XXX Document the language.
+ *
+ * These are mostly the features implemented but not documented:
+ *
+ * width   %[[-]width]{tag}
+ * index   %{tag[ids]}
+ * name=   %{tag=|decorator}
+ * :name=  %{:tag=|decorator}
+ * subexpr %{{expr}|decorator1|decorator2}
+ * delete  %{-charset,lang{expr}|decorator}
+ * filter  %{+family,familylang{expr}|decorator}
+ * cond    %{?tag1,tag2,!tag3{}{}}
+ * decorat %{tag|decorator1|decorator2}
+ * default %{parameter:-word}
+ * array   %{[]family,familylang{expr}|decorator}
+ * langset enumeration using the same syntax as arrays
+ *
+ * filters:
+ * basename        FcStrBasename
+ * dirname         FcStrDirname
+ * downcase        FcStrDowncase
+ * shescape
+ * cescape
+ * xmlescape
+ * delete          delete chars
+ * escape          escape chars
+ * translate       translate chars
+ *
+ * builtins:
+ * unparse
+ * fcmatch
+ * fclist
+ * pkgkit
+ */
+
 /*
  * Some ideas for future syntax extensions:
  *