summaryrefslogtreecommitdiff
path: root/doc/fontconfig-user.sgml
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-04-11 19:52:35 +0900
committerAkira TAGOH <akira@tagoh.org>2012-05-14 12:06:12 +0900
commitbc4517d8e5af8f31821ec8d9990765dad2867dd4 (patch)
tree9d597b46f92ffb600fabe1eb4aec656ffedf8ff3 /doc/fontconfig-user.sgml
parent5ac12c0e94128ea63e3e74b4e602cf0c74661bce (diff)
downloadfontconfig-bc4517d8e5af8f31821ec8d9990765dad2867dd4.tar.gz
Bug 19128 - Handling whitespace in aliases
Add a new attribute `ignore-blanks' to <test>. When this is set to "true", any blanks in the string will be ignored on comparison. This takes effects for compare="eq" or "not_eq" only. Also changed the behavior of the comparison on <alias> too.
Diffstat (limited to 'doc/fontconfig-user.sgml')
-rw-r--r--doc/fontconfig-user.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml
index 86f2b32..22d2ad3 100644
--- a/doc/fontconfig-user.sgml
+++ b/doc/fontconfig-user.sgml
@@ -396,7 +396,8 @@ above). 'compare' can be one of "eq", "not_eq", "less", "less_eq", "more", "more
"not_contains". 'qual' may either be the default, "any", in which case the match
succeeds if any value associated with the property matches the test value, or
"all", in which case all of the values associated with the property must
-match the test value. When used in a &lt;match target="font"&gt; element,
+match the test value. 'ignore-blanks' takes a boolean value. if 'ignore-blanks' is set "true", any blanks in the string will be ignored on its comparison. this takes effects only when compare="eq" or compare="not_eq".
+When used in a &lt;match target="font"&gt; element,
the target= attribute in the &lt;test&gt; element selects between matching
the original pattern or the font. "default" selects whichever target the
outer &lt;match&gt; element has selected.