Import czcionek z innego systemu

Archiwalne, stare wpisy FAQ i HowTo Użytkowników
chyl-o
Junior Member
Posty: 621
Rejestracja: 24 maja 2006, 21:06
Lokalizacja: Lublin

Import czcionek z innego systemu

Post autor: chyl-o »

Kopiujesz czcionki, które Cię interesują do katalogu ~/.fonts potem dajesz

Kod: Zaznacz cały

mkfontdir ~/.fonts
dopisujesz do /etc/X11/xorg.conf (jako root oczywiście )

Kod: Zaznacz cały

FontPath "/home/uzytkownik/.fonts"
z poziomu zwykłego użytkownika wydajesz

Kod: Zaznacz cały

fc-cache -fv
powinieneś otrzymać coś takiego:

Kod: Zaznacz cały

...
/usr/X11R6/lib/X11/fonts/encodings: caching, 0 fonts, 1 dirs
/usr/X11R6/lib/X11/fonts/encodings/large: caching, 0 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts/misc: caching, 0 fonts, 0 dirs
/usr/local/share/fonts: caching, 0 fonts, 0 dirs
/home/pawel/.fonts: caching, 65 fonts, 0 dirs
/var/lib/defoma/fontconfig.d: caching, 0 fonts, 12 dirs
/var/lib/defoma/fontconfig.d/A: caching, 6 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/B: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/C: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/D: caching, 22 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/G: caching, 8 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/I: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/N: caching, 16 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/S: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/T: caching, 8 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/U: caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/V: caching, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/W: caching, 1 fonts, 0 dirs
...

restart x'ów ALT+CTRL+BACKSPACE i masz nowe czionki w systemie.
beel
Beginner
Posty: 340
Rejestracja: 28 marca 2007, 07:06

Post autor: beel »

Dla opornych dodam, że jeśli nie masz katalogu /home/user/.fonts to go stwórz. Oraz dopisujemy ścieżkę w sekcji Files:

Kod: Zaznacz cały

Section "Files"
        FontPath        "/home/user/.fonts"
EndSection
Zablokowany