Bug 183002 - FreeBSD Handbook: Anti-Aliased Fonts: review
Summary: FreeBSD Handbook: Anti-Aliased Fonts: review
Status: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks: handbook-2022
  Show dependency treegraph
 
Reported: 2013-10-15 20:10 UTC by olivier
Modified: 2023-02-13 20:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description olivier 2013-10-15 20:10:00 UTC
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'

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.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:37 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2021-12-28 13:48:51 UTC
(In reply to olivier from comment #0)

Now 5.5.3 at <https://docs.freebsd.org/en/books/handbook/x11/#antialias>

X.Org has improved considerably since 2013; what change, if any, is now appropriate? 

TIA