Date: Fri, 20 Dec 2013 18:25:41 +0000 From: Mike Clarke <jmc-freebsd2@milibyte.co.uk> To: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Invalid attribute 'name' in /usr/local/etc/fonts/local.conf Message-ID: <201312201825.41641.jmc-freebsd2@milibyte.co.uk>
next in thread | raw e-mail | index | archive | help
curlew:/usr/local/etc/fonts# fc-cache -f Fontconfig error: "local.conf", line 27: invalid attribute 'name' Fontconfig error: "local.conf", line 35: invalid attribute 'name' Fontconfig error: "local.conf", line 43: invalid attribute 'name' Fontconfig error: "local.conf", line 51: invalid attribute 'name' This appears to be the offending section of /usr/local/etc/fonts/local.conf <match target="pattern" name="family"> <test qual="any" name="family"> <string>fixed</string> </test> <edit name="family" mode="assign"> <string>mono</string> </edit> </match> <match target="pattern" name="family"> <test qual="any" name="family"> <string>console</string> </test> <edit name="family" mode="assign"> <string>mono</string> </edit> </match> <match target="pattern" name="family"> <test qual="any" name="family"> <string>mono</string> </test> <edit name="spacing" mode="assign"> <int>100</int> </edit> </match> <match target="pattern" name="family"> <test qual="any" name="family"> <string>Helvetica</string> </test> <edit name="family" mode="assign"> <string>sans-serif</string> </edit> </match> This is as suggested in section 6.5.1 of the FreeBSD Handbook but deleting name="family" from the 'match' lines gets rid of the error messages. Is this an error in the handbook or am I doing something wrong? -- Mike Clarke
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201825.41641.jmc-freebsd2>