diff options
author | Akira TAGOH <akira@tagoh.org> | 2012-04-11 19:52:35 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2012-05-14 12:06:12 +0900 |
commit | bc4517d8e5af8f31821ec8d9990765dad2867dd4 (patch) | |
tree | 9d597b46f92ffb600fabe1eb4aec656ffedf8ff3 /conf.d/20-unhint-small-vera.conf | |
parent | 5ac12c0e94128ea63e3e74b4e602cf0c74661bce (diff) | |
download | fontconfig-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 'conf.d/20-unhint-small-vera.conf')
-rw-r--r-- | conf.d/20-unhint-small-vera.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/conf.d/20-unhint-small-vera.conf b/conf.d/20-unhint-small-vera.conf index c4ebee9..c9505ca 100644 --- a/conf.d/20-unhint-small-vera.conf +++ b/conf.d/20-unhint-small-vera.conf @@ -10,7 +10,7 @@ --> <match target="font"> - <test name="family"> + <test name="family" compare="eq" ignore-blanks="true"> <string>Bitstream Vera Sans</string> </test> <test name="pixelsize" compare="less"> @@ -22,7 +22,7 @@ </match> <match target="font"> - <test name="family"> + <test name="family" compare="eq" ignore-blanks="true"> <string>Bitstream Vera Serif</string> </test> <test name="pixelsize" compare="less"> @@ -34,7 +34,7 @@ </match> <match target="font"> - <test name="family"> + <test name="family" compare="eq" ignore-blanks="true"> <string>Bitstream Vera Sans Mono</string> </test> <test name="pixelsize" compare="less"> |