r2787 - trunk/BOOK/x/installing

igor at linuxfromscratch.org igor at linuxfromscratch.org
Sun Oct 10 21:41:34 PDT 2004


Author: igor
Date: 2004-10-10 22:41:31 -0600 (Sun, 10 Oct 2004)
New Revision: 2787

Modified:
   trunk/BOOK/x/installing/x-setup.xml
Log:
Corrections to i18n font settings in X pointed out by Alexander.

Modified: trunk/BOOK/x/installing/x-setup.xml
===================================================================
--- trunk/BOOK/x/installing/x-setup.xml	2004-10-11 03:02:30 UTC (rev 2786)
+++ trunk/BOOK/x/installing/x-setup.xml	2004-10-11 04:41:31 UTC (rev 2787)
@@ -179,10 +179,23 @@
 <!-- ================================================== -->
 <sect2>
 <title>Setting up fonts</title>
-<para>For users not using the <acronym>ISO</acronym>-8859-1 locale, the 
-<filename>/usr/X11R6/lib/X11/fonts/misc/fonts.alias</filename> file must
-be edited to ensure the fonts with the correct encoding are used for
-"fixed", "variable", "10x20" and similar aliases.</para>
+
+<para>Users not using the <acronym>ISO</acronym>-8859-1 locale have to
+make a few adjustments to their font settings. For cyrillic alphabet,
+it is sufficient to put the following line into the top of the "Files"
+section in <filename>xorg.conf</filename> because this directory
+already contains the needed bitmap fonts and their aliases:</para>
+
+<screen>FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic/"</screen>
+
+<para>For ISO-8858-<replaceable>[X]</replaceable> locales use the
+following command:</para>
+
+<screen><userinput><command>sed -i 's,iso8859-1\( \|$\),iso8859-<replaceable>[X]</replaceable>\1,g' \
+    /usr/X11R6/lib/X11/fonts/{75dpi,100dpi,misc}/fonts.alias</command></userinput></screen>
+
+<para>Make sure that fonts with the correct encoding are used for "fixed",
+"variable", "10x20" and similar aliases.</para>
 </sect2>
 
 <!-- ================================================== -->




More information about the blfs-book mailing list