11/19/2023 0 Comments Tangerine font ttfThis can also be set globally in /etc/X11/nf or /etc/X11/. If that is the case with your font, this step is not necessary. Note: Many packages will automatically configure Xorg to use the font upon installation. # xset +fp /usr/share/fonts/misc # Inform the X server of new directories fi done & xset fp rehashĪt times the X server may fail to load the fonts directory and you will need to rescan all the fonts.dir files: $ for dir in * do if then cd "$dir" xset +fp "$PWD" mkfontscale mkfontdir cd. Or if fonts were installed in a different sub-folders under the e.g. $ for dir in /font/dir1/ /font/dir2/ do xset +fp $dir done & xset fp rehash Or to include more than one folder with one command: GTK 1.x applications, and xfontsel) the index will need to be created in the font directory: With older applications that do not support fontconfig (e.g. See #Older applications for more detail.įinally, update the fontconfig cache (usually unnecessary as software using the fontconfig library does this): This entry is located in the Files section of your Xorg configuration file (e.g. at least chmod 444 for files, and 555 for directories.įor the Xserver to load fonts directly (as opposed to the use of a font server), the directory for your newly added font must be added with a FontPath entry. The font files need to have sufficient read permissions for all users, i.e. Fontconfig will search its default paths recursively, ensuring nested files get picked up. For clarity, it is good to keep each font in its own directory. The creation of a subdirectory structure is up to the user, and varies among Linux distributions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |