From 2a890510dc29203b74b602c96b9e90f0228ad50e Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Thu, 12 Jul 2001 10:14:36 +0000 Subject: [PATCH] Favour over in some cases. Make sure that the is outside of any enclosing paragraphs. --- .../books/handbook/x11/chapter.sgml | 116 +++++++++--------- 1 file changed, 61 insertions(+), 55 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/x11/chapter.sgml b/en_US.ISO8859-1/books/handbook/x11/chapter.sgml index 8b8181fa3b..70050889c7 100644 --- a/en_US.ISO8859-1/books/handbook/x11/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/x11/chapter.sgml @@ -1,7 +1,7 @@ @@ -1459,7 +1459,8 @@ EndSection The DefaultColorDepth keyword describes the color depth the user wishes to run at by default. This can be overridden with the -bpp command line - switch to &man.XFree86.1;. The Modes keyword describes the + switch to XFree86 + 1. The Modes keyword describes the resolution the user wishes to run at for the given color depth. In the example above, the default color depth is twenty four bits per pixel. At this color depth, the accepted resolution is @@ -1479,7 +1480,8 @@ EndSection Finally, the user can write out the configuration file and test it using the test mode given above. If all is well, then the configuration file needs to be installed in a common - location where &man.XFree86.1; can source it in the future. + location where XFree86 + 1 can source it in the future. This is typically /etc/X11/XF86Config or /usr/X11R6/etc/X11/XF86Config. @@ -1487,8 +1489,9 @@ EndSection Once the configuration file has been placed in a common location, XFree86 can then be used through &man.xdm.1;. In - order to use &man.startx.1; the user will have to install the - X11/wrapper port. + order to use startx + 1 the user will have to install + the X11/wrapper port. @@ -1551,24 +1554,28 @@ EndSection TrueType fonts with a minimum of effort: see the section on TrueType fonts later. - To install the above Type1 font collections, all you have - to do is - -&prompt.root; cd /usr/ports/x11-fonts/urwfonts -&prompt.root; make install clean - and likewise with the freefont or other collections. To tell the X server + To install the above Type1 font collections from the ports + collection you can run the following commands. + + &prompt.root; cd /usr/ports/x11-fonts/urwfonts +&prompt.root; make install clean + + And likewise with the freefont or other collections. To tell the X server that these fonts exist, you can add an appropriate line to your XF86Config file (in /etc/ for XFree86 version 3, or in /etc/X11/ for version 4), - which reads - FontPath "/usr/X11R6/lib/X11/fonts/URW/" - Alternatively, at the command line in your X session you can write - -&prompt.user; xset fp+ /usr/X11R6/lib/X11/fonts/URW -&prompt.user; xset fp rehash - - This will work but will be lost when you log out from this + which reads: + +FontPath "/usr/X11R6/lib/X11/fonts/URW/" + + Alternatively, at the command line in your X session you can + write: + +&prompt.user; xset fp+ /usr/X11R6/lib/X11/fonts/URW +&prompt.user; xset fp rehash + + This will work but will be lost when you log out from this session, unless you add it to your startup file (~/.xinitrc for a normal startx session, or ~/.xsession when logging in through a @@ -1588,9 +1595,9 @@ EndSection in this example because it is more consistent with the other font rendering backends. To enable the freetype module just add the following line to the module section of your - /etc/X11/XF86Config file. -Load "freetype" - + /etc/X11/XF86Config file. + + Load "freetype" For XFree86 3.3.X you will need to run a separate TrueType font @@ -1646,9 +1653,11 @@ EndSection First, you need to tell the X server about the fonts which you want anti-aliased. To do that, for each font directory you have - a line, which looks like -dir "/usr/X11R6/lib/X11/Type1" - and likewise for the other font directories (URW, truetype, etc) + a line, which looks like this: + + dir "/usr/X11R6/lib/X11/Type1" + + And likewise for the other font directories (URW, truetype, etc) containing fonts you'd like anti-aliased. Anti-aliasing makes sense only for scalable fonts (basically, Type1 and TrueType) so don't include bitmap font directories here. The @@ -1659,47 +1668,45 @@ EndSection (Antialiasing makes borders slightly fuzzy, which makes very small text more readable and removes "staircases" from large text, but can cause eyestrain if applied to normal text.) To exclude - point sizes between 9 and 13 from anti-aliasing, include the - lines - -match + point sizes between 9 and 13 from anti-aliasing, include these + lines: + + match any size > 8 any size < 14 edit - antialias = false; - - You may also find that the spacing for some monospaced fonts + antialias = false; + + You may also find that the spacing for some monospaced fonts gets messed up when you turn on anti-aliasing. This seems to be an issue with KDE, in particular. One possible fix for this is to force the spacing for such fonts to be 100: add the - following lines - -match any family == "fixed" edit family =+ "mono"; -match any family == "console" edit family =+ "mono"; - - (this aliases the other common names for fixed fonts as "mono"), - and then - -match any family == "mono" edit spacing = 100; - - Supposing you want to use the Lucidux fonts whenever monospaced + following lines: + + match any family == "fixed" edit family =+ "mono"; +match any family == "console" edit family =+ "mono"; + + (this aliases the other common names for fixed fonts as "mono"), + and then add: + + match any family == "mono" edit spacing = 100; + + Supposing you want to use the Lucidux fonts whenever monospaced fonts are required (these look nice, and don't seem to suffer from the spacing problem), you could replace that last line - with - -match any family == "mono" edit family += "LuciduxMono"; + with these: + + match any family == "mono" edit family += "LuciduxMono"; match any family == "Lucidux Mono" edit family += "LuciduxMono"; -match any family == "LuciduxMono" edit family =+ "Lucidux Mono"; - - (the last lines alias different equivalent family names). +match any family == "LuciduxMono" edit family =+ "Lucidux Mono"; + + (the last lines alias different equivalent family names). Finally, you want to allow users to add commands to this file, via their personal .xftconfig - files. To do this, add a last line, - -includeif "~/.xftconfig" - - + files. To do this, add a last line: + + includeif "~/.xftconfig" That's all; anti-aliasing should be enabled the next time you start the X server. However, note that your programs must @@ -1713,7 +1720,6 @@ includeif "~/.xftconfig" Anti-aliasing is still new to FreeBSD and XFree86; configuring it should get easier with time, and it will soon be supported by many more applications. -