mirror of
https://github.com/mayfrost/guides.git
synced 2024-10-31 23:16:06 +00:00
Update X.md
This commit is contained in:
parent
696d170f36
commit
c3f165e9a7
4
X.md
4
X.md
@ -135,6 +135,7 @@ There are two ways of adding fonts, with __Fontconfig__ or with __X__ core fonts
|
|||||||
* Scalable fonts must appear in the font path before the bitmap fonts when possible.
|
* Scalable fonts must appear in the font path before the bitmap fonts when possible.
|
||||||
* You can query the current _font paths_ (along with other information) by using __xset__:
|
* You can query the current _font paths_ (along with other information) by using __xset__:
|
||||||
`xset q`
|
`xset q`
|
||||||
|
* All this works for cursors too.
|
||||||
|
|
||||||
__STEP 1__: Create a font directory with font files and index files.
|
__STEP 1__: Create a font directory with font files and index files.
|
||||||
* First you might need to correctly name scalable fonts by creating a _fonts.scale_ file in the directory:
|
* First you might need to correctly name scalable fonts by creating a _fonts.scale_ file in the directory:
|
||||||
@ -142,6 +143,9 @@ __STEP 1__: Create a font directory with font files and index files.
|
|||||||
* Next create a proper font index file _fonts.dir_ to list available fonts in this directory:
|
* Next create a proper font index file _fonts.dir_ to list available fonts in this directory:
|
||||||
`mkfontdir ~/.fonts`
|
`mkfontdir ~/.fonts`
|
||||||
* The _fonts.alias_ provides aliases you can use and is manually created.
|
* The _fonts.alias_ provides aliases you can use and is manually created.
|
||||||
|
* Make sure the files have the appropriate permissions:
|
||||||
|
`chown root.root *`
|
||||||
|
`chmod 644 *`
|
||||||
|
|
||||||
__STEP 2__: Inform __X__ where to look for font directories.
|
__STEP 2__: Inform __X__ where to look for font directories.
|
||||||
* Edit _"/etc/X11/xorg.conf"_ or in the separate file _"/etc/X11/xorg.conf.d/fonts.conf"_
|
* Edit _"/etc/X11/xorg.conf"_ or in the separate file _"/etc/X11/xorg.conf.d/fonts.conf"_
|
||||||
|
Loading…
Reference in New Issue
Block a user