Date: Tue, 15 Oct 2013 19:01:15 GMT From: Olivier Cochard-Labbe <olivier@cochard.me> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/183002: Fix instructions in "6.5.3. Anti-Aliased Fonts" regarding local.conf Message-ID: <201310151901.r9FJ1Ftt046738@oldred.freebsd.org> Resent-Message-ID: <201310151910.r9FJA0F8024137@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183002 >Category: docs >Synopsis: Fix instructions in "6.5.3. Anti-Aliased Fonts" regarding local.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 15 19:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbe >Release: 10.0 >Organization: >Environment: FreeBSD laptop.bsdrp.net 10.0-ALPHA5 FreeBSD 10.0-ALPHA5 #8 r256200: Fri Oct 11 21:03:30 CEST 2013 root@laptop.bsdrp.net:/usr/obj/usr/local/BSDRP/BSDRPcur/FreeBSD/src/sys/PROD amd64 >Description: Handbook chapter "6.5.3. Anti-Aliased Fonts" have this indication: "Certain fonts, such as Helvetica, may have a problem when anti-aliased. Usually this manifests itself as a font that seems cut in half vertically. At worst, it may cause applications to crash. To avoid this, consider adding the following to local.conf: <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> " Then I've create this local.conf file: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <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> </fontconfig> But now I've got lot's of warning when I start xorg softwares: Fontconfig error: "local.conf", line 11: invalid attribute 'name' >How-To-Repeat: >Fix: Just replace this line: <match target="pattern" name="family"> by this one: <match target="pattern"> fix the warning messsage. I beleive all "match target" line of this chapter should be updated too. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310151901.r9FJ1Ftt046738>