Changeset c51ade2
- Timestamp:
- 05/29/2006 05:16:21 PM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 4e8205c8
- Parents:
- 90d588e
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/welcome/changelog.xml
r90d588e rc51ade2 46 46 <itemizedlist> 47 47 <listitem> 48 <para>[dnicholson] - Fixes for the X Window System Components page. 49 Add information for setting up DRI correctly. Thanks to Peter 50 Steiger for the alert. Clarified the relationship between the Xft 51 font system and Fontconfig. Thanks to Archaic for reviewing the 52 previous contents.</para> 53 </listitem> 54 <listitem> 48 55 <para>[dnicholson] - Simplified mv command and fixed the 49 56 explanation of the --enable-xine option in GStreamer Plug-ins. -
x/installing/x-setup.xml
r90d588e rc51ade2 18 18 <sect2 role="configuration" id='xconfig'> 19 19 <title>Configuring The X Window System</title> 20 21 <para condition="html" role="usernotes">User Notes: 22 <ulink url='&blfs-wiki;/XWindowSystemComponents'/></para> 20 23 21 24 <para>If you've installed the X Window System in any prefix other … … 74 77 </listitem> 75 78 <listitem> 76 <para>Section "Module". If you are going to install NV idia79 <para>Section "Module". If you are going to install NVIDIA 77 80 drivers, remove the "dri" line.</para> 78 81 </listitem> … … 130 133 <filename class="directory">/etc/X11</filename> with previous 131 134 versions of <application>Xorg</application>. This step is not needed 132 for users of Xorg-&xorg-version; or XFree86. Exec tute the following135 for users of Xorg-&xorg-version; or XFree86. Execute the following 133 136 commands as the <systemitem class="username">root</systemitem> 134 137 user:</para> … … 211 214 in a safe and efficient manner. It is installed in 212 215 <application>X</application> by default if you have a supported video card. 213 To check if DRI is installed properly, check the log file 216 To enable direct rendering using the OpenGL implementation from 217 <xref linkend="mesalib"/> (built separately with <xref linkend="xorg7"/> 218 or included with <xref linkend="xorg"/> and <xref linkend="xfree86"/>), 219 the "glx" and "dri" modules must be loaded. Additionally, the created 220 device nodes in <filename class="directory">/dev/dri</filename> must 221 have proper permissions for your users. A sample 222 <filename>XF86config</filename> or <filename>xorg.conf</filename> 223 file might look like this:</para> 224 225 <screen><literal>Section "Module" 226 ... 227 Load "glx" 228 Load "dri" 229 ... 230 EndSection 231 ... 232 Section "DRI" 233 Group "video" 234 Mode 0660 235 EndSection</literal></screen> 236 237 <note><para>DRI configuration may differ if you are using alternate 238 drivers, such as those from 239 <ulink url="http://www.nvidia.com/page/home.html">NVIDIA</ulink> or 240 <ulink url="http://www.ati.com/">ATI</ulink>.</para> 241 </note> 242 243 <para>To check if DRI is installed properly, check the log file 214 244 <filename>/var/log/XFree86.0.log</filename> or 215 245 <filename>/var/log/Xorg.0.log</filename> for statements like:</para> … … 221 251 222 252 <screen><computeroutput>direct rendering: Yes</computeroutput></screen> 253 254 <para>If direct rendering is not enabled, you can add verbosity by 255 running <command>LIBGL_DEBUG=verbose glxinfo</command>. This will 256 show the drivers, device nodes and files used by the DRI system.</para> 223 257 224 258 <para>You can also run the test program <command>glxgears</command>. … … 356 390 client side using <application>Fontconfig</application>. The default 357 391 search path is <filename class="directory">/usr/share/fonts</filename> 358 and <filename class="directory">~/.fonts</filename>. 359 When installing <application>X</application>, symlinks were created from 360 the <filename class="directory">OTF</filename> and <filename 361 class="directory">TTF</filename> <application>X</application> font 362 directories to <filename 363 class="directory">/usr/share/fonts/X11-{OTF,TTF}</filename>. This 364 prevents <application>Fontconfig</application> from using the poorly 365 rendered Type1 fonts or the non-scalable bitmapped fonts.</para> 366 367 <para><application>Fontconfig</application> searches directories in its 392 and <filename class="directory">~/.fonts</filename>. 393 <application>Fontconfig</application> searches directories in its 368 394 path recursively and maintains a cache of the font characteristics in 369 395 <filename>fonts.cache-1</filename> files in each directory. If the cache … … 371 397 fetched from the fonts themselves. This cache 372 398 can be regenerated using the <command>fc-cache</command> command at any 373 time.</para> 399 time. You can see the list of fonts known by 400 <application>Fontconfig</application> by running the command 401 <command>fc-list</command>.</para> 402 403 <para>The <application>X</application> fonts were not installed in a 404 location known to <application>Fontconfig</application>. This prevents 405 <application>Fontconfig</application> from using the poorly rendered 406 Type 1 fonts or the non-scalable bitmapped fonts. Symlinks were created 407 from the <filename class="directory">OTF</filename> and <filename 408 class="directory">TTF</filename> <application>X</application> font 409 directories to <filename 410 class="directory">/usr/share/fonts/X11-{OTF,TTF}</filename>. This allows 411 <application>Fontconfig</application> to use the OpenType and TrueType 412 fonts provided by <application>X</application> (which are scalable and 413 of higher quality).</para> 374 414 375 415 <para><application>Fontconfig</application> uses names such as … … 379 419 has all characters that cover the orthography of the language indicated 380 420 by the locale settings. Knowledge of these font names is included in 381 <filename>/etc/fonts/fonts.conf</filename>.</para> 421 <filename>/etc/fonts/fonts.conf</filename>. Fonts that are not listed 422 in this file are still usable by <application>Fontconfig</application>, 423 but they will not be accessible by the generic family names.</para> 382 424 383 425 <para>Standard scalable fonts that come with <application>X</application> … … 400 442 - These fonts are replacements for the Bitstream Vera fonts and 401 443 provide Latin-based scripts with accents and Cyrillic glyphs. 402 <application>Fontconfig</application> does not know about the DejaVu403 fontsby default, so <filename>/etc/fonts/fonts.conf</filename> will444 The DejaVu fonts by are not aliased to the generic family names 445 by default, so <filename>/etc/fonts/fonts.conf</filename> will 404 446 have to be edited for it to be recognized by the generic names such 405 447 as "Sans". This will be described below.</para> … … 417 459 - These fonts provide slightly worse Unicode coverage than FreeFont, 418 460 but are better hinted. Be sure to read the license before using 419 them. <application>Fontconfig</application> knows about them by420 default.</para>461 them. These fonts are listed in the 462 <filename>/etc/fonts/fonts.conf</filename> aliases by default.</para> 421 463 </listitem> 422 464 <listitem> 423 465 <para><ulink 424 466 url="http://cle.linux.org.tw/fonts/FireFly">Firefly New Sung font</ulink> 425 - This font provides Chinese coverage. However,426 <application>Fontconfig</application> does not know about this font427 by default.</para>467 - This font provides Chinese coverage. This font is not listed in 468 the <filename>/etc/fonts/fonts.conf</filename> aliases by default. 469 </para> 428 470 </listitem> 429 471 <listitem> … … 431 473 url="http://cle.linux.org.tw/fonts/Arphic">Arphic fonts</ulink> - 432 474 A similar set of Chinese fonts to the Firefly New Sung font. 433 <application>Fontconfig</application> knows about these fonts by 434 default and will substitute them for generic family names.</para> 475 These fonts are listed in the 476 <filename>/etc/fonts/fonts.conf</filename> aliases by default. 477 </para> 435 478 </listitem> 436 479 <listitem> 437 480 <para><ulink 438 481 url="http://sourceforge.jp/projects/efont/">Kochi fonts</ulink> - 439 These provide Japanese characters, and 440 <application>Fontconfig</application> knows about these fonts by 441 default.</para> 482 These provide Japanese characters, and they are listed in the aliases 483 in <filename>/etc/fonts/fonts.conf</filename> by default.</para> 442 484 </listitem> 443 485 <listitem> 444 486 <para><ulink 445 487 url="http://kldp.net/projects/baekmuk/">Baekmuk fonts</ulink> 446 - These fonts provide Korean coverage, and 447 <application>Fontconfig</application> knows about these fonts by448 default.</para>488 - These fonts provide Korean coverage, and they are listed in the 489 aliases in <filename>/etc/fonts/fonts.conf</filename> by default. 490 </para> 449 491 </listitem> 450 492 </itemizedlist> … … 466 508 DejaVu is a replacement for Bitstream Vera fonts, it can be substituted 467 509 for that family. Visually inspect the <filename>fonts.conf</filename> to 468 see how fonts are grouped together under the generic family names and a 469 preference list is created. To replace Bitstream Vera with DejaVu, as the 470 <systemitem class="username">root</systemitem> user:</para> 510 see how fonts are grouped together under the generic family names within 511 <alias> tags and a preference list is created within <prefer> 512 tags. To replace Bitstream Vera with DejaVu, run the following command as 513 the <systemitem class="username">root</systemitem> user:</para> 471 514 472 515 <screen role="root"><userinput>sed -i 's/<family>Bitstream Vera/<family>DejaVu/' /etc/fonts/fonts.conf</userinput></screen> … … 478 521 --> 479 522 480 <para condition="html" role="usernotes">User Notes: 481 <ulink url='&blfs-wiki;/XWindowSystemComponents'/></para> 523 <para>To see which fonts will be used as the generic fonts in your locale, 524 run the command <command>fc-match monospace</command>. Substitute "sans" or 525 "serif" to see the fonts that will be used for those aliases. 526 </para> 482 527 483 528 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.